Installing
-
4. Installing Eclipse on Ubuntu
Next follow with GNU/Linux Ubuntu Eclipse Installation.
For a System wide installation we make the superUser as owner:
sudo chown -R root:root /tmp/eclipse
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Then we Move the Eclipse content into the /opt Directory with:sudo mv /tmp/eclipse /opt/
Again make a Symlink to put Eclipse into the working Path:
sudo ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse
-
5. Oracle Java JDK Installation
How to Install Recommended Oracle Java JDK on Ubuntu
To check your current JDK version:
javac --version && java -XshowSettings:properties -version 2>&1 | grep 'java.vendor'
If it’s the official Oracle JDK, the output will include:
java.vendor = Oracle Corporation
.
Contents