Java is being a *****

Discussion in 'Offtopic' started by HomesliceMain, Nov 5, 2016.

  1. HomesliceMain

    HomesliceMain Well-Known Member

    Messages:
    74
    Likes Received:
    4
    Local Time:
    5:58 PM
    Whenever I try and launch the ATLauncher it pops up Launch4j "The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted The system cannot find the path specified"

    What can I do to fix this? Any help is appreciated.
     
  2. SirWill

    SirWill Founder

    Messages:
    12,284
    Likes Received:
    3,708
    Local Time:
    12:58 AM
    Did you reinstall java yet?
     
  3. HomesliceMain

    HomesliceMain Well-Known Member

    Messages:
    74
    Likes Received:
    4
    Local Time:
    5:58 PM
    I've tried deleting it and reinstalling it. I've tried downloading multiple versions
     
  4. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    6:58 PM
    use windows registry to reset where java is so that it launches using the java in the C:\Program Files x86\java directory
     
  5. HomesliceMain

    HomesliceMain Well-Known Member

    Messages:
    74
    Likes Received:
    4
    Local Time:
    5:58 PM
    How does one go about doing that.
     
  6. gellegbs

    gellegbs Member

    Messages:
    2
    Likes Received:
    0
    Local Time:
    5:58 PM
    In windows find Control Panel, go to System and Security, then go to System. From there on the left look for the link Advanced System Settings, click that link and confirm with yes. A popup window should show up. On the advanced tab find the Environmental Variables button. That will bring up another window with two lists, one says User variable for username and the other says System variables. Look for the word Path under the System Variable list, select it and click edit and find the Java file path that should look like this C:\Program Files\Java\jre1.8.0_71\bin or if you installed the Development Kit something like this should be there C:\Program Files\Java\jdk1.8.0_66\bin. If you do not have anything like that, then you need to add the file path on where your java is installed and insert it there. If you have several paths with Java\jre***\bin then you have several different installations and need to uninstall the others.

    Also make completely sure you have the correct bit version of Java installed on system. When you google Java to download they automatically bring you to 32 bit download links (x86), most of us have 64 bit versions, it is wise to check if you do not know. Which you can in Control Panel> System and security>System, listed under system type. This is all for Windows OS only.
     
  7. HomesliceMain

    HomesliceMain Well-Known Member

    Messages:
    74
    Likes Received:
    4
    Local Time:
    5:58 PM
    This is what it says:

    C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:/Program Files 86;C:\Program Files (x86)\GtkSharp\2.12\bin
     
  8. gellegbs

    gellegbs Member

    Messages:
    2
    Likes Received:
    0
    Local Time:
    5:58 PM
    The path you need to change is the first one, C:\ProgramData\Oracle\Java\javapath, because it is not pointing to the bin folder or the folder with javaw.exe. Go in file explorer to C:\ProgramData\Oracle\Java and find the bin folder or the folder with javaw.exe. Copy that file path and write over the first path in what you posted above (the "C:\ProgramData\Oracle\Java\javapath" part) . The paths are separated by semicolons ( ; ). Make sure you end the new path with a semicolon.
     

Share This Page