4/17/2024 0 Comments Installing java 11 on windows 10So right now its a Java 8 command prompt. It only effects that command prompt AND anything that is started from that command prompt. How long does this last ? As long as you keep using the command prompt where you did the Now type the following in C:\myrobotlab.16 So:Īdd's our Java 1.8 directory and now we can run Java 1.8 applications like manticore. You should see a whole bunch of directories separated by a semi-colon And these are all the directories that are searched. Means set my PATH variable to whatever it is now. You can modify the variable with a command called "set" on Windows The operating system will search through all of the directories listed to try to find a match to run. It's the list of directories the operating system uses when you type a command. Windows, Linux and Mac all have and use this variable. PATH is an important environment variable. Sets the current PATH variable to what it currently is PLUS the location of the executables of java 1.8 was installed. The set command, sets environment variables - Just like the ones we removed. Type "java -version" and make sure it can't find java. Go to the directory you unzipped Manticore version. The other environment variable you want to remove completely if it exists is JAVA_HOME.Īt this point you should have several folders of different versions of java, but java is no worky on the command prompt. User variables Path, or System variables Path. you type "where java" and go back to the environment variables to take it out of either Open a new Command Prompt and type java -version Hightlight the evil C:\Program Files (x86)\Common Files\Oracle\Java\javapathĪnd Delete it ! Hit "Ok" in all the open dialogs. Start by typing environment in the search box at the bottom left of the screen.īring up System Properties, Press Environment Variables, highlight Path under System variables, then press edit. You need to remove it from your environment variables. When I typed "where java" it gave us the path were its using the default one. When we open a new command prompt and type java. You may think this is a good thing, but its not for what we are trying to do. but I just make a new folder under c:\java\ called jre1.8.0_291 Anyway, it wants to install under C:\ProgramFiles. It has stuff for developing new Java applications, the JRE has only stuff for running Java applications. The slightly different part is the JDK has more stuff. The JDK and JRE are more or less the same thing. It then asks you where you want the JRE installed. I prefer all the java be installed under a directory called java\īut its personal preference, it is nice to go to one place and see what all the different versions you have. I don't like the installer installing under C:\ProgramFiles\. The reason we tooked the 11 compressed archive, is because the. Getting access to these links now requires you to have an account with Oracle. Install All the Versions of Java You will want to use (we will do 8 & 11) Start the appropriate version or myrobotlab.Set the appropriate envronment variables to start Java 8 or Java 11.Make sure there is no "default" version - we don't want "any" version running by default.Install both/all versions of Java you will want to use - for this tutorial it will be just 8 & 11.Some details differ between Windows, Linux and Mac - but the basic concepts are the same. Make it so you can start either and select the Java version just before starting myrobotlab.īoth versions of Java need to be first installed on the computer. The Nixie version of myrobotlab requires Java 11. The Manticore version of myrobotlab requires Java 8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |