How to let the NetBeans Installer detect installed JDKs?

Contributed by; Ankit Khemka

I tried following the steps written in FaqInstallJavahome, however I couldn't install the NetBeans IDE. If you don't have administrator rights on your system like in offices, educational institutes, etc. What would you do?

Solution Tried on NetBeans 6.X

I copied the installed JDK folder to 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.

Comment: I don't see what this has to do with admin permissions?

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo