You can now use Java applets in any web browser on your system. The installation of Java and appropriate links are complete. Plugin=$(rpm -ql $(rpm -qa | grep jre) | grep libnpjp2.so) & ln -svf "$plugin" /usr/lib64/browser-plugins/ Plugin=$(rpm -ql $(rpm -qa | grep jre) | grep libnpjp2.so) & ln -svf "$plugin" /usr/lib/browser-plugins/ You can now create a link and point it to your browser plugin. It should return a result with its absolute path. Rpm -ql $(rpm -qa | grep jre) | grep libnpjp2.so You can check that file using rpm command. What we are interested in, is the file libnpjp2.so (that file location can change any time depending on the SUSE version and the jre package version.) which came with the jre package. Update-alternatives -set javaws /usr/java/latest/bin/javaws Update-alternatives -install "/usr/bin/javaws" "javaws" "/usr/java/latest/bin/javaws" 1 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. #Install java plugin for chrome install#Once the install is complete, you may have to removed icedtea-web. ![]() Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_251-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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |