×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    24

    java.lang.math not working with asin

    Hello,iam trying to implement asin using java.lang.math and it is not recognizing asin() iam using netbeans is there a way to update the java.lang that i have on netbeans to a version that recognizes asin and log ...etc i mean where can i get a java.lang version that works properly and how to integrate it with netbeans

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: java.lang.math not working with asin

    Hello kzomran,

    depending on your requirement, i.e.

    -if you are developing a Java SE based application then the standard Java SE library should include it.

    -if you are developing a Java ME based application then you need to implement the method and processing manually in the code as Java ME does not provide this method as part of it's java.lang.Math library. For the requirement, you might want to consider the existing solutions like this one: http://java.net/projects/akmemobile/...il.java?rev=23

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    24

    Re: java.lang.math not working with asin

    thanks alot that was helpfull

Similar Threads

  1. Replies: 3
    Last Post: 2011-03-25, 20:22
  2. About : java.lang.error/Java.lang.SecurityException:Cannot use exit(), use midlet. ..
    By sisu.hang in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2010-08-11, 05:48
  3. import java.lang.Math.*;
    By moja_a in forum Mobile Java General
    Replies: 3
    Last Post: 2009-08-13, 15:49
  4. java.lang.Error: ClassFormatError, java.lang.Class..unknown.()
    By kadro in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2007-08-23, 06:19
  5. Math parser requires java.lang.Number
    By c7r in forum Mobile Java General
    Replies: 3
    Last Post: 2005-10-25, 15:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •