Results 1 to 20 of 20

Thread: help plz

  1. #1
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default help plz

    'java' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .
    i try to open a private server and it comes up with this could any1 help me ?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,331
    Rep Power
    25

    Default

    It looks like the OS can't find the java command.
    Has java been installed on that computer?
    If it has, is there an entry in the PATH environ var (Windows) that points to the bin folder where the java.exe file is located?
    Use Search here to find how to set your PATH variable.

  3. #3
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    where do i search it?

  4. #4
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    for PATH Variable i got this ;C:\Program Files\Java\jdk1.x.0_yy\bin

  5. #5
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    i done a search and this is what i got
    C:\Program Files\Java\jre1.6.0_06\bin

    C:\Program Files\Java\jre1.6.0_07\bin

    C:\Program Files\Java\jdk1.6.0_06\jre\bin

    C:\Program Files\Java\jdk1.6.0_06\bin

  6. #6
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    any1 help me plz

  7. #7
    sales1 is offline Member
    Join Date
    Aug 2008
    Posts
    11
    Rep Power
    0

    Default

    i had the same problem until i changed it to this:
    ;C:\java\jdk.1.6.0_07\bin

    now it compiles and runs fine

    and whne u want to search the search function is just up from this main window its the third one along

  8. #8
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    thank you sales1

  9. #9
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    do i type "How to set your PATH variable" in to the search engine?

  10. #10
    sales1 is offline Member
    Join Date
    Aug 2008
    Posts
    11
    Rep Power
    0

    Default

    if you type "PATH variable" into search there are some useful posts

  11. #11
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    dont understand it:(

  12. #12
    sales1 is offline Member
    Join Date
    Aug 2008
    Posts
    11
    Rep Power
    0

    Default

    1. go to control panel
    2.go to system
    3. go to the advanced tab
    4.click the button "Environment variables"
    5.under the heading "System variables" find the variable called path
    if there isnt a variable called path make one with the "New" button
    6.set variable value to whatever directory you have the jdk1.6.0_07 in (this will probably be in program files then in the java folder) in the end it should say:

    Variable name : Path
    Variable value : ;(whichever directory you use)\jdk1.6.0_07\bin

    that should work perfectly my personal one is:

    Variable name : Path
    Variable value : ;C:\java\jdk1.6.0_07\bin

  13. #13
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    sales1 is that suggested will help me witht his new problem Exception in thread "main" java.lang.NoClassDefFoundError: client
    Caused by: java.lang.ClassNotFoundException: client
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
    Press any key to continue . . . ?

  14. #14
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,331
    Rep Power
    25

    Default

    What command line are you using to get that error message? How are you entering it? Command prompt or in an IDE or ?

    The java program is not able to find a definition for the client class. Where is the class file located? Is it in the same directory that you entered the java command?

  15. #15
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    What command line are you using to get that error message? i clicked the Config of the private server and it came up with that, the file of the private is located in my desktop.

  16. #16
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,331
    Rep Power
    25

    Default

    Config of the private server
    What is the private server? You'll have to read the doc for it to see if you have configured it correctly.

    It would help if you would explain more completely what you are doing. We're not looking over your shoulder.

  17. #17
    b000m is offline Member
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    0

    Default

    i am bad at explaining and with stuff like this

  18. #18
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,331
    Rep Power
    25

    Default

    Good luck then.
    Ask the people that gave you the java program, how to get it to work.

  19. #19
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Quote Originally Posted by b000m View Post
    i am bad at explaining and with stuff like this
    Folks are trying to help you. You are preventing them from doing it effectively. You need to get better at communications

  20. #20
    sales1 is offline Member
    Join Date
    Aug 2008
    Posts
    11
    Rep Power
    0

    Default

    this is a runescape private server and my best guess is that you are way better of with the compiler that is on the moparscape forum. This is not the same as creating a program from scratch this is very advanced java programing so u would be better of asking the people at moparscape than here.

Posting Permissions

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