Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Probably an easy newbie question :-)

Status
Not open for further replies.

Aleena

Programmer
Oct 3, 1999
27
US
Hi,<br>
<br>
I am a sophmore at college in about my second week of java programming. I have a lab that is due on Monday and I am having some trouble with the class program my professor gave to me to use for this lab.<br>
<br>
When I try to compile his class (which is a class that enables me to get info from the user) I get the following errors:<br>
<br>
souin.java:379: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (Character.isWhitespace(next))<br><br>
^<br><br>
souin.java:495: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (Character.isWhitespace(next))<br><br>
^<br><br>
souin.java:498: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (!(Character.isWhitespace(next)))<br><br>
^<br>
<br>
Ok well obviously my professor has made some kind of mistake in his coding here but being as it is only my second week I have absolutly no idea how to fix it. I am on the verge of a panic here and I was desperately hoping someone on this board could help me... If there is anything else you need to know in order to help me please let me know. <br>
<br>
Thank you in advance for any advice you might offer.<br>
<br>
Aleena
 
Ok ok.. I have answered my stupid question myself. I had a different version of jdk that I had downloaded from Sun. Obviously it didn't want to work with his code because I installed a different version and it worked perfectly.<br>
<br>
Thanks anyway :)<br>
<br>
Aleena
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top