The Artima Developer Community
Sponsored Link

Java Answers Forum
i need help...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
abdel

Posts: 11
Nickname: caram
Registered: May, 2003

i need help... Posted: Jun 13, 2003 3:46 AM
Reply to this message Reply
Advertisement
hi all,
I try to run this program it gives the following error:

java.lang.NumberFormatException: Fpr input string: "jav"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Float.parserFloat(Unknown Source)
at swing.myApplet.compareValue(myApplet:48)

String value = System.getProperty( propertyName );
if(propertyName.equals("java.version"))

zeile 48: if((float)(Float.parseFloat(((propertyName)).substring(0, 3))*10) >
12)
{
return true;
}
else
{
System.out.println("Your Java Version must be 1.2 or later!");
}

can anyone tell me what' wrong??
Thanks in advance

Topic: reflection Previous Topic   Next Topic Topic: vector()  help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use