

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:
ORACLE JAVA 1.7.0 DOWNLOAD FREE
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
ORACLE JAVA 1.7.0 DOWNLOAD INSTALL
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.
