1

Hi I need help installing JDK so I can use Netbeans. When I try and install Netbeans with POL it says missing JDK. Please Help

0

You can download and install the Java SDK which comes bundled with NetBeans as a package from here so that you can install both at once.

Take note that there is also a Linux version here. So you can install JDK with NetBeans directly onto Linux without having to install it through PlayOnLinux. I would suggest trying out the Linux version before trying to install it on POL.

Click here for instruction on installing JDK+NetBeans on Linux.

| improve this answer | |
  • Answer more of my questions please I'm completely new to this – Adi May 27 '16 at 20:54
  • Just visit the 2 links I posted, specifically the instructions link. I could give you step-by-step but I would just be rewriting the instructions I posted the link to... – Dorian May 27 '16 at 20:57
  • hey works perfectly thanks. Answer another Q please – Adi May 28 '16 at 9:28
  • answer more questions of mine please? – Adi May 28 '16 at 19:45
1

If you don't require a specific verison, it's a one-command thing:

sudo apt-get install default-jdk
| improve this answer | |
0

Download the latest JDK from here:

http://www.oracle.com/technetwork/java/javase/downloads/

You can also use this script to download it automatically.

Then install it by extracting the package which you can do by double clicking on the file and selecting extract from the menu. You may also want to add these lines to your ~/.bashrc:

export JAVA_HOME=/usr/local/jdk1.8.0_91
export PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH

Oracle Java is better considering performance and compatibility compared to other implementations of JDK.

| improve this answer | |
  • -1 You can't just say "install it." You need to provide instructions for doing so. And I know from experience that installing Oracle's JDK is not the easiest task. – You'reAGitForNotUsingGit May 27 '16 at 17:09
  • @AndroidDev I don't think so, but I will add the instructions, which is extracting the package, and in some cases setting JAVA_HOME and PATH. – Ho1 Jun 13 '16 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.