[RSS]

How to let the NetBeans Installer detect installed JDKs?

Contributed by; Ankit Khemka

I know you must be thinking about this wiki which answers similar looking question. However, if you don't have administrator rights on your system like in offices, educational institutes, etc. What would you do? I tried following the steps written in existing wiki, however I couldn't install the NetBeans IDE. Then, I noticed what the installer prompted me, it suggested what the existing wiki has.

Tried on NetBeans 6.X

So, I tried another thing, I copied the installed JDK folder on another location where I had access as non-administrator, and set the environment variable JAVA_HOME (on Windows) to point to the new location of JDK. Then, launch the installer and here you go!
You are welcome to update this wiki, if you have a better solution.