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 258842 - Installation program offers /usr with JDK, but this not work
Summary: Installation program offers /usr with JDK, but this not work
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: 2016-04-14 22:08 UTC by Milan.Kerslager
Modified: 2016-04-14 22:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Installer offers JDK dirs to the user (51.61 KB, image/png)
2016-04-14 22:08 UTC, Milan.Kerslager
Details
The error message if /usr directory with JDK was picked (20.26 KB, image/png)
2016-04-14 22:09 UTC, Milan.Kerslager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan.Kerslager 2016-04-14 22:08:24 UTC
Created attachment 159276 [details]
Installer offers JDK dirs to the user

I have Fedora 23 x86_64 with latest updates and I did:
dnf -y install java-1.8.0-openjdk-devel.x86_64

Then downloaded Netbeans 8.1 (Java only) and the installation program offered me the /usr directory as a default (see attachment).

But this does not work, as JDK could not be found (see the second attachment).

Older version of Netbeans did not offered bare /usr directory (IIRC).

Proposed fix: Installer should not offer plain /usr directory.
Comment 1 Milan.Kerslager 2016-04-14 22:09:14 UTC
Created attachment 159277 [details]
The error message if /usr directory with JDK was picked
Comment 2 Milan.Kerslager 2016-04-14 22:22:38 UTC
Also then I was unable to change correct directory in Tools - Java Platforms and make it work. It is possible that the installation was completely borked.
Removing&installing again with another Java JDK directory fixes the problem.