[RSS]

I do have JDK installed correctly. How can I make the installer use it?

NetBeans 4.X, 5.X

Run the installer with the-is:javahome <path-to-jdk>option.

If you believe you have the JDK installed properly, but the installer seems to fail to recognize it, you can try to run the installer with the-is:javahomeoption and specify the path to the JDK you want the installer to use, e.g.:

  • Linux:netbeans-5_5-linux.bin -is:javahome /usr/jdk/jdk1.5.0_06
  • Windows: netbeans-5_5-windows.exe -is:javahome "C:\Program Files\Java\jdk1.5.0_06"
Note surrounding double quotes if path contains space(s).

NetBeans 6.X

Run the installer with the--javahome <path-to-jdk>option.

If you believe you have the JDK installed properly, but the installer seems to fail to recognize it, you can try to run the installer with the--javahomeoption and specify the path to the JDK you want the installer to use, e.g.:

  • Linux: netbeans-6.0-linux.sh --javahome /usr/jdk/jdk1.6.0_04
  • Windows: netbeans-6.0-windows.exe --javahome "C:\Program Files\Java\jdk1.6.0_04"
Note surrounding double quotes if path contains space(s).