Bug 235954 - NetBeans should run using the JDK specified by JAVA_HOME (if set)
NetBeans should run using the JDK specified by JAVA_HOME (if set)
Status: NEW
Product: platform
Classification: Unclassified
Component: Launchers&CLI
7.4
PC Mac OS X
: P3 (vote)
: TBD
Assigned To: Libor Fischmeistr
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-13 19:45 UTC by athompson
Modified: 2014-02-10 14:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2013-09-13 19:45:39 UTC
Currently, Netbeans defaults to simply running with the highest JDK installed. This is not always the best choice since the highest JDK installed may be a buggy development build. NetBeans should prefer running with the JDK specified by the "JAVA_HOME" environment variable, if set. This way, users can avoid having to manually change the "netbeans.conf" file every time they install a new version of NetBeans--something few users know how to do.

A potential issue is if the JDK_HOME path is invalid. NetBeans should not fail silently in that case.


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