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: | Launcher ignores --jdkhome option | ||
---|---|---|---|
Product: | platform | Reporter: | lopsided98 |
Component: | Launchers&CLI | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Launcher trace |
Description
lopsided98
2013-03-06 00:22:13 UTC
Could you please attach the messages.log file and reopen this issue ? Thanks in advance. Tried to reproduce, but --jdkhome option worked for me (both 32 and 64 bit launchers). I would ask you for the messages log - http://wiki.netbeans.org/FaqLogMessagesFile Also the trace of the launcher would be useful. Just run: netbeans.exe --trace C:\Users\<your user name>\trace.log Thanks Created attachment 132308 [details]
Launcher trace
This is the trace from the launcher. I didn't attach the messages.log file because Netbeans never starts to generate it because it does not get past the launcher.
Thanks for the trace log. It perfectly showed me what happened... In fact the --jdkhome option overrides the property from netbeans.conf file, but that property is not fully ignored and if the jdk form netbeans_jdkhome doesn't exist the error message is shown. I consider it a bug, but the priority is quite lower - P3. So if you want to run netbeans, just comment netbeans_jdkhome property in netbeans .conf Integrated into 'main-golden', will be available in build *201303192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/17d586edf21a User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #227068: Launcher ignores --jdkhome option Let's target this to 7.3.1 ... |