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.
Summary: | Selecting JDK version does not cause update of file netbeans.conf | ||
---|---|---|---|
Product: | platform | Reporter: | chjan |
Component: | Launchers&CLI | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Windows 8 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
chjan
2014-11-06 11:53:09 UTC
As a person who uses NetBeans for web development and not Java development, I completely don't care what JDK I'm using and my JDK gets updated automatically on Windows. As a result, this issue has come up constantly over the past years and on Windows, changing netbeans.conf is not hard, but a great annoyance on my time. Basically, I think when NetBeans starts up and asks you if you want to try the default JDK, there should be a checkbox included to updated netbeans.conf to the latest JDK at the same time so that it remedies the error itself. Reassigned for further evaluation. BTW, I cannot reproduce it on Linux i.e. when I remove the JDK used to install & run NetBeans 8.1 Beta, the IDE then refuses to start. However, if I comment out the netbeans_jdkhome= setting in the etc/netbeans.conf, NetBeans starts using another available JDK. Downgrading priority unless we have a reliable steps to reproduce that JDK auto-discoverability is totally broken. Reproducible Steps to reproduce: 1) install IDE, using JDK X 2) uninstall JDK X 3) run IDE -> the prompt is shown 'Do you want to try to use default version?' -> the user preference is not written to netbeans.conf, e.g. in the conf file is still the JDK X, so the question will be shown again on next start up Workaround: remove the line JDK_HOME= from netbeans.conf so the IDE will always use default version IMHO the workaround is simple and the issue itself does not block using IDE -> P3 |