Results 1 to 13 of 13

Thread: Need help

  1. #1
    Join Date
    May 2008
    Posts
    7
    Rep Power
    0

    Default Need help

    hi friends , i am new to java.
    i am working with JCreatorLE editor to develop java applications.
    i have set paths as

    PATH:C:\Program Files\Java\jdk1.6.0\bin
    CLASSPATH:C:\Program Files\Java\jdk1.6.0\jre\lib\tools

    what ever the applications i have developed are excuted well and giving results exactly.

    But recently i have faced the errors like "NOSuchMethod def"and "java.lang.NoSuchMethodException".

    how can i handle these problems and is my classpath setting is Correct or not?
    if not how to set the classpath exactly?
    pls help me friends.

  2. #2
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Quote Originally Posted by srinivaspuvvala View Post
    hi friends , i am new to java.
    i am working with JCreatorLE editor to develop java applications.
    i have set paths as

    PATH:C:\Program Files\Java\jdk1.6.0\bin
    CLASSPATH:C:\Program Files\Java\jdk1.6.0\jre\lib\tools

    what ever the applications i have developed are excuted well and giving results exactly.

    But recently i have faced the errors like "NOSuchMethod def"and "java.lang.NoSuchMethodException".

    how can i handle these problems and is my classpath setting is Correct or not?
    if not how to set the classpath exactly?
    pls help me friends.
    Hello Dear,

    Where are you getting this error, means in which program can you post it here.
    So that one can let you know the solution
    sanjeev,संजीव

  3. #3
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    Have you check your code for invoking non-existing methods?
    freedom exists in the world of ideas

  4. #4
    Join Date
    May 2008
    Posts
    7
    Rep Power
    0

    Default

    i will post the code
    but i want to know is my classpath setting is correct or not?

  5. #5
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Quote Originally Posted by srinivaspuvvala View Post
    CLASSPATH:C:\Program Files\Java\jdk1.6.0\jre\lib\tools
    Why you did this......
    sanjeev,संजीव

  6. #6
    Join Date
    May 2008
    Posts
    7
    Rep Power
    0

    Default

    then how to set the classpath

  7. #7
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Quote Originally Posted by srinivaspuvvala View Post
    then how to set the classpath
    same as PATH.......like this

    CLASSPATH:C:\Program Files\Java\jdk1.6.0\bin
    sanjeev,संजीव

  8. #8
    Join Date
    May 2008
    Posts
    7
    Rep Power
    0

    Default

    actually i downloaded one package from the net.
    it is about
    A Practical Exact Pattern Matching Algorithm
    Christopher G. Jennings (Home Page)
    "information on and a visualization of the Franek-Jennings-Smyth Exact Pattern Matching Algorithm"

    he has given one package(.Zip) of developed java programs.
    whenver i have ran those programs i got errors as i mentioned before.

  9. #9
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Quote Originally Posted by srinivaspuvvala View Post
    then how to set the classpath
    Quote Originally Posted by srinivaspuvvala View Post
    actually i downloaded one package from the net.
    it is about
    A Practical Exact Pattern Matching Algorithm
    Christopher G. Jennings (Home Page)
    "information on and a visualization of the Franek-Jennings-Smyth Exact Pattern Matching Algorithm"

    he has given one package(.Zip) of developed java programs.
    whenver i have ran those programs i got errors as i mentioned before.
    try to file out the missing method....in package....
    if found then there is problem with classpath ....not java's classpath but for your downloaded package.
    sanjeev,संजीव

  10. #10
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    not java's classpath but for your downloaded package.
    ....Bingo....
    freedom exists in the world of ideas

  11. #11
    Join Date
    May 2008
    Posts
    7
    Rep Power
    0

    Default

    ok thank u
    i will do that.

  12. #12
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Quote Originally Posted by sukatoa View Post
    ....Bingo....
    Hey Sukatoa.............

    What do you want to say...
    sanjeev,संजीव

  13. #13
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    Thats what im thinking for....
    I think his binpath is right isn't it?

    So, the error might on that package (not arranged)... or misplaced...

    Bingo means, you got it... :)
    freedom exists in the world of ideas

Posting Permissions

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