Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installed new JRE, but old version is still used

843798Nov 3 2007 — edited Nov 6 2007
I'm running openSUSE 10.3 on a laptop. I just installed JDK 6u3 and JRE 6u3.

When I compile my programs an run them, it says "unsupported class version number". So I typed in "java -version", and it said "Java Version 1.5.0_12".

How do I make it use JRE 6u3 and not JRE 5?

P.S. I can compile the programs using "javac -version 1.4", and then they'll work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2007
Added on Nov 3 2007
5 comments
203 views