Installing Java in Linux
If you want to install java in Linux then you can do it in best method mentioned below.
Just make sure you have internet connection and install eclipse ide on your linux.
Commands for different Linux systems are given below.
FOR Debian (Ubuntu/Kali flavored distros)
$> sudo apt-get install eclipse
FOR Red-Hat Linux Distros.
$> sudo yum install eclipse
And accept the downloading requirements and let it proceed
Now open the terminal and type 'java' without cotes in the terminal
,if you see some lines of code and option information then java is successfully installed in your system.
Now to check whether alternatives are written and are updated type javac in the terminal and if you see some weird lines without saying invalid command or unable to locate, then the alternatives are successfully updated.
BYE!..
No comments:
Post a Comment