Sometimes you may find situation where you need to have java inside your computer, on lubuntu/ubuntu there are two kinds of java, open JDK and oracle JDK, in this article i will show you how to install open JDK on lubuntu 16.04.
Open JDK is supported by lubuntu/ubuntu, therefore it exist on lubuntu/ubuntu repository, so basically you can go ahead use apt-get install command to install open JDK on lubuntu 16.04.
On lubuntu 16.04 there are two version of open JDK available, open JDK version 8 and 9, at this time the version 9 is fairly new and still not 100% stable, so i would not recommend to install open JDK 9, unless you need certain features that only available on version 9.
To install open JDK 8 on lubuntu simply open terminal/ console/ command prompt and then run the following command:
sudo apt-get install openjdk-8-jdk
If you still insist of getting the open JDK 9, here's the command :
sudo apt-get install openjdk-9-jdk
That's it, now you have java installed on your lubuntu, you can do whatever you want, develop some java apps or install other program that requires java.
~ havefun ~
No comments:
Post a Comment