Update-alternatives -set java /usr/java/latest/bin/java Update-alternatives -install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 1 Once it is complete, copy and paste the following: Copy and paste the following into terminal as root:Īgree to remove the package. Once the install is complete, you may have to removed icedtea-web. Java HotSpot(TM) 64-Bit Server VM (build 25.351-b08, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_351-b08) It creates a new link to the java cmd of the version I want to use, and I just need to specify it to my system with : In this case (multiple version of java) and depending on the "update-alternative" error, symbolic links have to be created to the new version of java command you want/need to use. Update-alternatives: error: alternative javaws can't be slave of java: it is a slave of. To be certain of your architecture, open a terminal by running the command (Alt+F2 in KDE): konsole or xterm This method is recommended for those that require Oracle's Java for websites that insist on the genuine article in order to be accessed.ĭetermine what architecture you are running before downloading the package to your system. You will not have the Icedtea Web plugin, only the official Java. The purpose of this installation method is to be a quick and easy setup. Java Runtime Environment Install using Oracle's RPM NOTE: Before actually proceeding further, read the " Discussion" to this SDB for updates and contributions which may not yet have been accepted to be part of the main SDB. This way, one might even follow both procedures in a sequence, since the JDK and the JRE are installed in different directories, but only the latter is going to be used by your system (or whichever the symbolic link is pointing to). jdk_Oracle, will be used for the symbolic link pointing to the folder where the Oracle Java Environment is located. With both the procedures given below, for JDK and for JRE installation, the same name, i.e. Installing both packages when they have the same version number is not (quite) useful. Differences with JRE installation should be clearer, should someone want to install just the Java Runtime Environment. The JRE installation is a shorter version of the JDK installation, therefore the procedure to install the JRE will be shown first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |