![]() ![]() The JAVA_HOME and JRE_HOME environment variable are not used by the JRE installed in the "Program Files" with the installer, they are used by convention by IDE, tools or application server. If your setup is correct, you will be able to override the default JRE without modifying your PATH : > java -version:"1.6" M圜lass (force the jre 1.6 installed to be used) So verify the values in the registry and clean up you PATH because you don't need it to launch java.exe from the command prompt by typing only java.exe. (32 bits installed on OS 64 bits)Īnd then get the path of the JRE for the version marked as current.įor a 32 bits JRE installed on a Windows 64 bits installation : -> 1.8Īnd then -> C:Program Files (x86)Javajre1.8.0_31 This java.exe will look in the registry to get the location of the current JavaHome. ![]() When you install a JRE, the installer writes a special java.exe in the Windows system directory (ex. Whether you are looking to start a Minecraft server, play Minecraft mods.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |