安装完jdk5之后,
classPath = C:\Program Files\Java\jdk1.5.0_09\jre\lib\rt.jar;
Java_home = C:\Program Files\Java\jdk1.5.0_09
path = D:\Oracle\product\10.1.0\Client_1\bin;[color=red]D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Program Files\Java\jdk1.5.0_09\bin;[/color]D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\kanba\live200\;C:\Program Files\VanDyke Software\SecureFX\
as genaral ,you type command in the dos windows,you wanna get
java version 1.5.0
but
安装了Oracle 10的client,(it is based with jdk1.4)Oralce program modify the "path" value,
then you type the comand :java -version in the Dos windows,you will get :java -version 1.4.
------------------handle as fellows:
path =[color=red]C:\Program Files\Java\jdk1.5.0_09\binD[/color]:\Oracle\product\10.1.0\Client_1\bin;D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;;D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\kanba\live200\;C:\Program Files\VanDyke Software\SecureFX\
the windows os will read the firt java path'value as it's path value
you move the jdk5.0 before the jdk4.0 .
the problem was solved.
classPath = C:\Program Files\Java\jdk1.5.0_09\jre\lib\rt.jar;
Java_home = C:\Program Files\Java\jdk1.5.0_09
path = D:\Oracle\product\10.1.0\Client_1\bin;[color=red]D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Program Files\Java\jdk1.5.0_09\bin;[/color]D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\kanba\live200\;C:\Program Files\VanDyke Software\SecureFX\
as genaral ,you type command in the dos windows,you wanna get
java version 1.5.0
but
安装了Oracle 10的client,(it is based with jdk1.4)Oralce program modify the "path" value,
then you type the comand :java -version in the Dos windows,you will get :java -version 1.4.
------------------handle as fellows:
path =[color=red]C:\Program Files\Java\jdk1.5.0_09\binD[/color]:\Oracle\product\10.1.0\Client_1\bin;D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;;D:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\kanba\live200\;C:\Program Files\VanDyke Software\SecureFX\
the windows os will read the firt java path'value as it's path value
you move the jdk5.0 before the jdk4.0 .
the problem was solved.