-
MS SDK for JAVA
Dear All,
I've created a java program, it's compiled & run well using Forte & JCreator
(Java 2 SDK). But when I use MS SDK for Java 4, following error messages
occured:
'parseFloat' is not a method in class 'Float'
What went wrong?
Please help. Thanks in advance.
-
Re: MS SDK for JAVA
The Microsoft SDK doesn't support Java 2 (it hasn't been updated since about
1.1.4, I believe), and parseFloat is a method that is new in Java 2 (the
documentation says "Since 1.2"). In this case you'll have to replace this
method by Float.valueOf(string).floatValue().
PC2
Ivan <ivan.gh@iname.com> wrote in message news:3ab3b299$1@news.devx.com...
>
> Dear All,
>
> I've created a java program, it's compiled & run well using Forte &
JCreator
> (Java 2 SDK). But when I use MS SDK for Java 4, following error messages
> occured:
>
> 'parseFloat' is not a method in class 'Float'
>
> What went wrong?
>
> Please help. Thanks in advance.
-
Re: MS SDK for JAVA
Dear Paul,
Thanks for the information. If I use MS SDK, will Netscape browsers have
trouble in running my applet?
"Paul Clapham" <pclapham@core-mark.com> wrote:
>The Microsoft SDK doesn't support Java 2 (it hasn't been updated since about
>1.1.4, I believe), and parseFloat is a method that is new in Java 2 (the
>documentation says "Since 1.2"). In this case you'll have to replace this
>method by Float.valueOf(string).floatValue().
>
>PC2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks