Hey all, just wanted to ask a quick question. I am having problems using the scanner class under java.util library. I do a java - version in a dos prompt and it shows the following:
I have the latest JRE 1.5.06 and the latest JDK installed. I have added the bin directories to my path and I still get this message. I don't know if this has anything to do with my not having the ability to use the scanner class, but I am guessing so.
If you're getting those errors, then the JRE wasn't setup correctly. I would install the JDK again.
Joined: Mar 02, 2003
I just did. Still nothing. Now I can see that since I am using Jbuilder it has 1.4 installed and I also have 1.5 installed. I have pointed the JDK folder to the new 1.5 JDK folder in Jbuilder and the 1.4 still shows up.
I'll try reinstalling Jbuilder with 1.5 installed unless it uses 1.4 by default. [ March 29, 2006: Message edited by: Gabriel White ]
Open the properties page for your JBuilder project. Click the Paths branch in the tree on the left. This will show you what JDK is being used. Click on the ... button if you need to change it. Once you have changed it, click on the Build/Java branch of the tree on the left. Set the Language Features and Target VM to the required versions.