Results 1 to 6 of 6

Thread: Java Error

  1. #1
    Join Date
    Mar 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Java Error

    Hey guys,

    Trying to get back into color botting / scripting after a year hiatus. Anyways, I've been getting this error upon trying to spawn a SMART client and have spent too many hours trying to fix it.

    "Windows cannot find 'C:\Program Files (x86)\Java\jre7\bin\java.exe'. Make sure you typed the name correctly and try again."

    Now I've searched a lot for a solution, and before you ask, yes I have the latest version of JRE. I have added the extension to the Path system variable in the environment variables to the path of my java \bin folder and reinstalled Simba, but this has resulted in the same error. My firewall is also disabled. Any and all help would be greatly appreciated. Thanks!

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    What version of JRE do you have installed? 64 or 32 bit?
    It must match the architecture that simba was compiled to, usually 32 bit.

  3. #3
    Join Date
    Mar 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    It was 32 bit JRE8 update 74. I got it fixed though in the chat. Thanks so much anyways!

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    <borisss> OMG it works now by deleting the old jre folders after I've uninstalled them. THANKS SO MUCH!!!!!!!!!!!

    Just passing by to document the solution in case anyone else happens to run across this thread
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  5. #5
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    The java locating function should really use 'where' or 'which'(depending on OS).

  6. #6
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by tls View Post
    The java locating function should really use 'where' or 'which'(depending on OS).
    The issue is that Windows handles the %PATH% (equivalent to $PATH on a Unix-like system) variable very badly. Sometimes the (un)installation processes of specific programs are at fault. Sometimes the fact that a reboot is required to update %PATH% is what bites users in the ass.

    Point being, %PATH% isn't always accurate. It'd be great if it was, because then a simple TProcess to where java would suffice.

    Still, it might be worth looking into...
    Last edited by KeepBotting; 03-17-2016 at 12:05 AM.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

Thread Information

Users Browsing this Thread

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

Posting Permissions

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