JDK 1.42 installed, where to set the path to the JRE?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Piet
Posts: 1
Joined: Sat Nov 20, 2004 10:50 am

JDK 1.42 installed, where to set the path to the JRE?

Post by Piet »

Hello,
I have just downloaded the evaluation version of Oxgen 5.0, but I can´t get it started because it cannot find the JRE. I have installed the JDK v 1.42 on Windows ME. Is it possible to set the pth to the JRE somewhere so that I can use oxygen?
TIA
Piet
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

You can copy the [javahome]/jre directory in the oxygen home directory. The installer will automatically use that if it is present.

Alternatives:
- use the installation kit with JVM
- use oxtgen.bat to start the application and eventually edit it to specify the full path to Java

Best Regards,
George
petefc
Posts: 16
Joined: Tue Jan 20, 2004 4:07 am

Where do you set the the JVM value

Post by petefc »

I upgraded my JVM and Oxygen could not find the new JVM. (All other java apps work fine) I was able to start oxygen using the bat file, but would like to set the jvm properly.

I couln not find any place to do so.
your instructions say:
- use oxtgen.bat to start the application and eventually edit it to specify the full path to Java

Where do I do the "edit"

Peter
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Post by Dan »

You can edit the oxygen.ini file from the installation directory and specify the exact version of the Java VM you want to use. You can obtain the version string by running into a CMD shell the command:
java -version

It can be:
1.5.0
or:
1.4.2_03
for instance.

This value must be set in the section [Java Runtime Environment] to the field:
"Minimum Version" and eventually to "Maximum Version" if you have installed two versions and you do not want to use the latest..
petefc
Posts: 16
Joined: Tue Jan 20, 2004 4:07 am

JVM Still not found

Post by petefc »

Hello,

I set the following in the ini file

Maximum Version=1.4.2_06
Minimum Version=1.4.2_06

and now i get the same error message slightly changed:

(version 1.4.2.6 is recquired)

This is very broken and very annoying

I have unistalled and reinstalled Oxygen and still get the same message....
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Post by Dan »

It looks like the startup program does not find the correct JVM... We will check this.
I think the best way to fix the problem is to copy the jre directory from the JDK1.4.2 installation directory into the Oxygen installation directory.

Example: C:\j2sdk1.4.2_06\jre to C:\Program Files\Oxygen 5.0\jre
petefc
Posts: 16
Joined: Tue Jan 20, 2004 4:07 am

Post by petefc »

Thanks that worked!
Post Reply