Thread: wierd shit

Results 1 to 5 of 5
  1. #1 wierd shit 
    Member wierd shit Market Banned

    Robin Spud's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    2,338
    Thanks given
    46
    Thanks received
    73
    Rep Power
    1068
    no noobs.

    well my mates dutch and hes made a server and is trying to run it. but when ever he clicks run it says classnotfound or w.e

    so i tried doing it throught the cmd prompt. i typed dir and it listed the file we are tryinng to run...its nothing to do with hes java or anything. so im just wondoring what it could be? i tested hes source on my computer and works fine.
    ILY Stewie.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Purely chill's Avatar
    Join Date
    May 2009
    Posts
    838
    Thanks given
    91
    Thanks received
    11
    Rep Power
    315
    Does it use Java in the code instead of the program file thing? If so he might need to set his environmental variables.
    Or maybe it says the program file thing but the path is English so the path in the code might need to be changed to the Dutch one.
    Spoiler for Signature:
    Nightly Firefox builds The 64-bit one has too many glitches, get the 32-bit one.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jul 2008
    Age
    28
    Posts
    5,827
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    You don't have the CLASSPATH variable set. This means Java doesn't know where to look for the class files. You can either add "-cp source_path" to the run file, or add it to the environmental variables.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Purely chill's Avatar
    Join Date
    May 2009
    Posts
    838
    Thanks given
    91
    Thanks received
    11
    Rep Power
    315
    Quote Originally Posted by Colby_ View Post
    You don't have the CLASSPATH variable set. This means Java doesn't know where to look for the class files. You can either add "-cp source_path" to the run file, or add it to the environmental variables.
    you don't need the CLASSPATH variable, I just use the PATH and it works fine.
    Spoiler for Signature:
    Nightly Firefox builds The 64-bit one has too many glitches, get the 32-bit one.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jul 2008
    Age
    28
    Posts
    5,827
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Quote Originally Posted by Purely chill View Post
    you don't need the CLASSPATH variable, I just use the PATH and it works fine.
    Yes, you do. Clearly you did not read what I said. Java has been found, and Java doesn't not know where the class files are located. For this, you need the CLASSPATH variable or the -cp argument.
    http://java.sun.com/j2se/1.3/docs/to...classpath.html

    Please refrain from arguing about things over your head.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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