DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: MS SDK for JAVA

Hybrid View

  1. #1
    Ivan Guest

    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.

  2. #2
    Paul Clapham Guest

    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.




  3. #3
    Ivan Guest

    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



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links