Install NetBeans with Oracle JDK in Ubuntu / Mint (Easy Way)

Programmers love to code in Linux. For me whether it is Android Studio or NetBeans, I used to get 2-3 times better speed in my Mint than in Windows. However, installing JDK offline in Linux is a tedious task. But NetBeans provides an easier way to do this. Let’s see how we can install Netbeans with Oracle JDK in linux.

Instead of installing the JDK, NetBeans only require an extracted JDK in the home directory. So let’s do it

    • Download NetBeans executable for Linux (.sh File) and Oracle JDK(Download file like jdk-8uxx-linux-x64.tar.gz for x64 platform)
    • Copy These downloaded files to Home Directory
    • Extract The JDK in the Home folder itself
    • Give the netbeans executable privilage using this command on terminal. Replace xx with your version.chmod +x netbeans-xxx.sh
    • Now you can run the NetBeans setup using
      ./netbeans-xxx.sh
  • The NetBeans setup will automatically detect the JDK from the HOME directory. You can proceed with the installer and finish it.
  • Yeah ! You done it. Open NetBeans from your Launcher.

Keywords : How to install netbeans with jdk, Simple way to install netbeans in ubuntu or mint, oracle jdk install

Muhammed Afsal Villan
Muhammed Afsal Villan is an experienced full-stack developer, specialized in desktop and mobile application development. He also regularly publishes quality tutorials on his YouTube channel named 'Genuine Coder'. He likes to contribute to open-source projects and is always enthusiastic about new technologies.

30 COMMENTS