I'm a new Ubuntu Linux user and I thought to start learning java with this new environment. I started to install java and NetBeans by searching google, java installed but not NetBeans. I searched more but none work for me.
Before posting this, I also searched in ask ubuntu and found some solutions about this but sorry to say, none work for me. Netbeans 8.2 just doesn't start on ubuntu 18.04. I installed java version 1.8.0_181. With this, I also tried installing java 10 but also failed here as NetBeans 8.2 doesn't support 10. So what can I do?
And I want another suggestion, that is, Java is updated and its current version is jdk10; which version I should go for learning? 8 or 10? What should I do, I am totally confused.
11 Answer
NetBeans requires Java 8 to run. It's doesn't support Java 10 at the moment. As for your second question, I'd start with Java 8 also.
EDIT: Installation procedures
Add ppa repo
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installerSRC: Launchpad.net
This is supposed to work for 18.04 and 18.10
Download Netbeans 8.2 installer. It's a bash shell script ending in .sh. Make sure it has executable permissions.
Navigate to your Netbeans installer download folder and open a console and type:
./netbeans-8.2-linux.shSRC: Netbeans.org
Follow the onscreen prompts for the installation. Refer to the appropriate links I've provided should you have any troubles.
5