This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235954 - NetBeans should run using the JDK specified by JAVA_HOME (if set)
Summary: NetBeans should run using the JDK specified by JAVA_HOME (if set)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


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.