Go to JDeveloper's System Directory, DefaultDomain, bin
Edit setDomainEnv.cmd with:
Right after the initial comments add
set JAVA_VENDOR=Oracle
Replace the line:
set BEA_JAVA_HOME
with
set BEA_JAVA_HOME=C:\JRockit\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1
where BEA_JAVA_HOME is where the JRockit is installed.
Optionally, print java version to make sure you set it right.
echo java_home = %java_home%
%java_home%\bin\java.exe -version
The result is
Edit setDomainEnv.cmd with:
Right after the initial comments add
set JAVA_VENDOR=Oracle
Replace the line:
set BEA_JAVA_HOME
with
set BEA_JAVA_HOME=C:\JRockit\Java\jrockit-jdk1.6.0_20-R28.1.0-4.0.1
where BEA_JAVA_HOME is where the JRockit is installed.
Optionally, print java version to make sure you set it right.
echo java_home = %java_home%
%java_home%\bin\java.exe -version
No comments:
Post a Comment