We can see there is no present javaws application, so, we shall add it with the following command: To enable Java Webstart you must add it to the applications list javaws in a console as root:įirst, check if javaws is present in the applications list: If your browser plugin list shows the free IcedTea-Web plugin as enabled, we strongly recommend that you disable it (do not uninstall it) in order to avoid any conflict or problem between the two plugins. This will take you to Oracle's Java check page, which should inform you that you are indeed using Oracle Java. Now we are going to check that the Java SE 7 Update 09 plugin is properly installed and is working in your browser. Note: At least one Mageia user found he had to make a "plugins" directory and put the symbolic link into /opt/google/chrome/plugins/.Ln -s /usr/lib/jvm/default/lib/i386/libnpjp2.so /opt/google/chrome/ Ln -s /usr/lib/jvm/default/lib/amd64/libnpjp2.so /opt/google/chrome/ You may need to disable the "Iced Tea Web Plug-in" in Firefox in order to get it to use the Oracle Java version. Ln -s /usr/lib/jvm/default/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/Ĭheck your Firefox Add-On's Manager (under Tools). If you downloaded the Java 32bit version and that you use a 32bit system, enter the following command: Ln -s /usr/lib/jvm/default/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/ Open a console, become root and enter the command: So far, we have tested the plugin with Firefox and Google Chrome. Now all we have to do is make your favourite web browser use the Java you just worked so hard to install. Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_09-b05) You can check that the version is being used by the system: Using `/usr/lib/jvm/default/bin/java' to provide `java'. You can now enter the number x (3 in our case) to select it as default Java program. We can check that our Java is present by bringing up the list again: Use the next free number on the list or "1" if there is nothing already in it. X is the number to attribute in the plugins list. Update-alternatives -install /usr/bin/java java /usr/lib/jvm/default/bin/java xĭefault designates the directory just made with the symlink. Java-jre-7u9 is not yet present in the list, so this command will add it: *+ 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/javaĢ /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/javaĮnter to keep the default, or type selection number: That should result in something like the following: Ln -s /etc/alternatives/default /usr/lib/jvm/ The following command will create a symlink from default to /etc/alternatives/ in the directory /usr/lib/jvm/: Ln -s /usr/java/default /etc/alternatives/ Simply copy and paste the following command into a console as root: You can use your file manager to create links, but because there are so many different file managers, we shall describe only the command line method as this will work with any Mageia installation. You must now tell the system and your Internet browsers that the new version should be used by default.Ĭreating a symbolic link from Java to directory Once the file is downloaded, install it by double clicking on it in your favourite file manager. Old version : jre-7u9-linux.rpm For 64bit systems This tutorial aims to help you install and configure Java SE 7 from Oracle Corporation.ĭownload Java SE 7 from the official website (for this tutorial, jre-7u9-linux-圆4.rpm has been used): Some applications, on websites for example, need Oracle's Java, even if you have java-1.7.0-openjdk installed on your Mageia. As you may be aware, the Java version from Oracle Corporation is not available in Mageia due to licensing problems.
0 Comments
Leave a Reply. |