Skip to Main Content

New to Java

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!

Java Version

807599Nov 14 2006 — edited Nov 16 2006
I recently installed Fedora 6 on my machine which comes with Java 1.4.2. I downloaded Java SE 5.0 from the JavaSoft web site and installed it using RPM. The install seemed to go fine.

However, when I enter the command "java -version" the response indicates Java version 1.4.2. Is there a way to get the OS to use the new version of Java (5.0) when I'm compiling and running Java programs?

Additionally, I was able to re-direct Eclipse to point to Java SE 5.0 using the Preferences menu and updating the "Installed JREs" item.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 14 2006
Added on Nov 14 2006
16 comments
280 views