updating to java 1.5

I'm currently using NetBeans IDE 5.0 which is running java 1.4.2_11. In order to use the scanner class I need to update to version 1.5....can anyone post instructions on how to do this without reinstalling netbeans? thank you
[233 byte] By [tester28a] at [2007-11-26 22:48:19]
# 1

http://java.sun.com/javase/downloads/index_jdk5.jsp

Is the link to the 1.5 download page. Go down and choose "JDK 5.0 Update 11" its the forth one down. Follow the directions to install it, then tell netbeans where to look. Also the latest release of Java is 1.6 (http://java.sun.com/javase/downloads/index.jsp), but beware many people arent using it yet so if you have programs complied in 1.6 they wont work if run in a 1.5 JVM.

Also, and I could be wrong, I think netbeans will defualt to a 1.4.2_11 environment, even if 1.5 is the version installed. You should check your version using the command line and running java -version

before spending all the time to download 1.5.

dunnigan14a at 2007-7-10 12:08:00 > top of Java-index,Java Essentials,Java Programming...
# 2
I already installed 1.5...and yes, netbeans does default to 1.4. But is there any way to change this default? I can't manage to direct netbeans to the 1.5 version
tester28a at 2007-7-10 12:08:00 > top of Java-index,Java Essentials,Java Programming...
# 3
That I do not know. Sorry.
dunnigan14a at 2007-7-10 12:08:00 > top of Java-index,Java Essentials,Java Programming...
# 4
For other IDE like Eclipse,You can go to Setting / Preference ? to change the JDK for particular project.Don't know if there is similar configuration for NetbeansTools > Java Platform Manager ?
rym82a at 2007-7-10 12:08:00 > top of Java-index,Java Essentials,Java Programming...
# 5
Try to change parameter "netbeans_jdkhome" in netbeans.conf file (located in <NetBeans_DIR>/etc/ folder)Message was edited by: Tigra321
Tigra321a at 2007-7-10 12:08:00 > top of Java-index,Java Essentials,Java Programming...