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 256856 - Installer thinks that /usr contains a JDK
Summary: Installer thinks that /usr contains a JDK
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-11-29 13:34 UTC by pepijn
Modified: 2015-11-29 13:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pepijn 2015-11-29 13:34:40 UTC
The NetBeans 8.1 installer makes a bad default choice for the Java runtime to use on Ubuntu, and doesn't check if the selected Java runtime is a JDK. When I installed NetBeans on my Ubuntu 15.04s system, with Java 6 and 7 OpenJDK installed and Java 6, 7 and 8 Oracle JDKs, it by default selected "/usr" as the Java runtime for NetBeans, Glassfish and Tomcat. I'm guessing it's because there is a /usr/bin/javac, but of course there is *no* /usr/lib/tools.jar, which it apparently fails to check for.