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 254984 - Missing JDK after install with default presetting
Summary: Missing JDK after install with default presetting
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-03 19:37 UTC by ulfzibis
Modified: 2015-11-05 13:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Warning dialogue (22.73 KB, image/png)
2015-09-03 19:37 UTC, ulfzibis
Details
Installer dialogue (41.45 KB, image/png)
2015-09-03 19:40 UTC, ulfzibis
Details
Installer log (497.46 KB, application/x-7z-compressed)
2015-09-03 20:07 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2015-09-03 19:37:32 UTC
Created attachment 155877 [details]
Warning dialogue

I have run the netbeans-trunk-nightly-201509010002-javase-linux.sh installer and got a warning, see attachment.
Comment 1 ulfzibis 2015-09-03 19:40:08 UTC
Created attachment 155878 [details]
Installer dialogue

I choosed /usr (prefilled by default), see 2nd attachment.
Comment 2 ulfzibis 2015-09-03 20:07:06 UTC
Created attachment 155880 [details]
Installer log

I guess, the 2nd one in the zip file is the one you need.
Comment 3 vicricker 2015-11-05 13:40:09 UTC
It's a bit surprising that NB was released with this issue.

It can be worked around by editing netbeans.conf and changing

netbeans_jdkhome="/usr"

to

netbeans_jdkhome="/usr/lib/jvm/java"

This works on Fedora 22.  YMMV on other distros.  (You can copy the correct value from a prior install of NB.)