Installing
-
2. Downloading Oracle JDK 7
Download Oracle Java SE JDK 7 for Linux.
-
3. Installing Oracle JDK 7
And to Install Oracle Java JDK 7
Access the Target folder:cd $HOME/Downloads
Possibly, to check the Package is there:
ls | grep jdk
The grep Command refine the output List showing only the entries Matching the Keyword.
But if you are in Trouble to Find it Out on Terminal See: How to Access Downloads Folder from Browser.Then to make the JDK 7 Installation simply play:
sudo rpm -ivh install ./jdk-7*-linux*.rpm
Then Update System Java to Oracle JDK 7.
sudo update-alternatives --install /usr/bin/java java /usr/java/jdk1.7*/bin/java 1065
sudo update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.7*/bin/javac 1065
sudo update-alternatives --install /usr/bin/jar jar /usr/java/jdk1.7*/bin/jar 1065
sudo update-alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.7*/bin/javaws 1065
Checking or Setting the System Java Version in Use
with:sudo update-alternatives --config java
And for the Java Compiler instead:
sudo update-alternatives --config javac
To Switch of Java Version Just Enter the Selection Number on First, Column. :)
How to Install Eclipse Java IDE:
Eclipse Installation in Mageia Guide.
Netbeans IDE: NetBeans Installation in Mageia Guide.
IntelliJ IDEA: IntelliJ IDEA Installation in Mageia Guide.
Now Thanks to Oracle-Sun Corporation you are able to Successfully Start with Java JDK Use & Development.
Contents