Posted on 2011-04-15 09:53
Kavin 閱讀(466)
評論(0) 編輯 收藏
Description:
Incompatible JVM- Version 1.4.2_03 of the JVM is not suitable for th is product. Version:1.5 or greater is required.

Analisys:
安裝Oracle Client 9/10后, Path 被設置為Oracle自帶的JDK 1.4, 啟動高版本Eclipse(eclipse-jee-helios-SR1-win32.exe)時, 就默認用Oracle自帶的JDK 1.4,這樣就會有問題。
Solution:
多種解決方案
1. 修改環境變量: Path = %JAVA_HOME%"bin;%PATH%
權限的問題,我沒有選擇這個解決方案。
2. 修改Eclipse啟動項:修改Eclipse快捷方式的屬性里面的目標:
D:"tool"eclipse-jee-helios-SR1-win32"eclipse"eclipse.exe -vm "C:"Program Files"Java"jdk1.5.0_05"bin"javaw.exe"