[Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

Discussion in 'Archives' started by mike_w_99, Jan 23, 2009.

Thread Status:
Not open for further replies.
[Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help
  1. Unread #1 - Jan 23, 2009 at 2:51 AM
  2. mike_w_99
    Joined:
    Nov 5, 2008
    Posts:
    2,034
    Referrals:
    1
    Sythe Gold:
    0

    mike_w_99 Grand Master
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    Hello to anyone who has experience with Java.

    I try to use Rsbot, I think I fixed my other error, as I don't get it anymore. I downloaded JDK update. Now I find myself getting these 2 errors. Please post all things that could be wrong, in order, and I will try each one.


    Thanks for all the help ( if any )


    [​IMG]

    [​IMG]
     
  3. Unread #2 - Jan 23, 2009 at 2:54 AM
  4. +Love+
    Joined:
    Nov 27, 2008
    Posts:
    1,870
    Referrals:
    1
    Sythe Gold:
    0

    +Love+ Guru
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

  5. Unread #3 - Jan 23, 2009 at 3:02 AM
  6. mike_w_99
    Joined:
    Nov 5, 2008
    Posts:
    2,034
    Referrals:
    1
    Sythe Gold:
    0

    mike_w_99 Grand Master
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    Thanks for trying at least, but it didn't resolve my issue ):
     
  7. Unread #4 - Jan 23, 2009 at 4:59 AM
  8. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    *sighs* +Love+, did you even look at the error he was getting?

    Also, Mike, did you even google your problem (i.e. "Javaw not found error" and so on)?

    The problem is obvious: You don't have the 'PATH' environment variable set to include your java/JDK installation. When you run a command in command prompt, those commands are not actually features of the command program (most of the time) but rather, different programs altogether. Because RSBot calls "javaw" without a prefixed path, it assumes you have your PATH variable set up correctly which in your case you don't.

    Easy fix, but it requires administrator privileges. On XP:

    Start menu -> Right Click on My Computer -> Click on Properties

    For Vista:

    Menu -> Right Click on Computer -> Click on Properties -> Click on Advanced System Settings.

    Next, on the 'Advanced' tab, click "Environment Variables".

    In the box that says "System variables" (the second box) find the variable called PATH. It may contain something similar to this:

    Code:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\
    Now, click "edit" while having PATH selected, and at the end place a semi-colon followed by the "bin" folder in your Java installation directory.

    For example,
    Code:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Java\jre-<version>\bin
    You will need to find the Java installation directory by yourself, as people don't always have the same version. The default location is in C:\Program Files\Java\jre-<version>\bin, replacing <version> with the version shown.
     
  9. Unread #5 - Jan 23, 2009 at 5:14 AM
  10. mike_w_99
    Joined:
    Nov 5, 2008
    Posts:
    2,034
    Referrals:
    1
    Sythe Gold:
    0

    mike_w_99 Grand Master
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    Alright, i'll try the above tomorrow. Thanks, you seem like you know what ur talking about.

    Can I add you on msn? i'm not the greatest at step by step.
     
  11. Unread #6 - Jan 23, 2009 at 5:16 AM
  12. uk hybr1d
    Joined:
    Mar 14, 2008
    Posts:
    1,084
    Referrals:
    0
    Sythe Gold:
    0

    uk hybr1d Guru
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    this happened when i was re-downloading rsbot at my friends as he had to download jdk aswell, all i did was restart his computer and it compiled fine after.
     
  13. Unread #7 - Jan 23, 2009 at 5:47 AM
  14. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    That could mean that installing the JDK updates the PATH variable - it happens for some people.

    And no, I don't hand out my MSN. This topic will suffice.
     
  15. Unread #8 - Jan 23, 2009 at 8:22 AM
  16. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    Swan, don't you also need to set CLASSPATH? I thought you needed Path and Classpath... I may be wrong though...
     
  17. Unread #9 - Jan 23, 2009 at 1:48 PM
  18. mike_w_99
    Joined:
    Nov 5, 2008
    Posts:
    2,034
    Referrals:
    1
    Sythe Gold:
    0

    mike_w_99 Grand Master
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    I can't seem to find my java thing you told me to put at the end :S
     
  19. Unread #10 - Jan 23, 2009 at 6:05 PM
  20. Morphis
    Joined:
    Aug 2, 2008
    Posts:
    734
    Referrals:
    0
    Sythe Gold:
    0

    Morphis Apprentice
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    go to My Computer\Local Disk C:\Program Files\Java
    After that find the latest jdk in there which will start with jdk. Now follow the steps that swan stated, if you really cant get this I dont know how else to help you man.
     
  21. Unread #11 - Jan 23, 2009 at 9:04 PM
  22. mike_w_99
    Joined:
    Nov 5, 2008
    Posts:
    2,034
    Referrals:
    1
    Sythe Gold:
    0

    mike_w_99 Grand Master
    Banned

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    The hole problem is I CANT find the JAVA under PROGRAM FILES.

    if anyone can help me on where it might be.. I've looked and can't find it.
     
  23. Unread #12 - Jan 23, 2009 at 10:50 PM
  24. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    SuF, I thought you were better than that >_<

    Classpath is a variable used by Java to determine where to look for other classes. For example, if you want to use a third-party SSH library, you would set the Classpath to include the path to that library - or at least, that's how I understood how it worked.

    Path simply tells Windows where to look for executable programs when using "commands" such as java, javac and javaw. Similar to programs, scripts and sym-links /usr/bin and /usr/sbin in Linux. The error he is getting has to do with not finding an executable, not for not being able to find a specific class. After all, CLASSPATH does have one obvious identifier: the first five letters in its name.
     
  25. Unread #13 - Jan 24, 2009 at 7:29 AM
  26. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    >.<, I was at school so I could not see the pics, and I have onle set java up like twice, so I really never understood how to do it correctly... >.<
     
  27. Unread #14 - Jan 25, 2010 at 10:21 PM
  28. Shelbyand
    Joined:
    Jan 25, 2010
    Posts:
    12
    Referrals:
    0
    Sythe Gold:
    0

    Shelbyand Newcomer

    [Rsbot | Neat ] I'm in need of help with the Java portion. Neat and easy thread. Help

    Swan, i changed my path under system variable to -> C:\Program Files\Java\jre1.6.0_07\bin; i don't know if that is correct or not, or should i change it to -> C:\Program Files\Java\jre6\bin; Oh and im currently up to date with it, so yeah. and I accidentally Changed my PATH under my User variables, and i forgot what it used to be, please tell me what i should change that to? :/
     
< free rsbots.net auths | buying 1 pin 5$ >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site