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 254915 - Unable to find JDK
Summary: Unable to find 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-09-01 17:15 UTC by javydreamercsw
Modified: 2015-09-15 07:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (33.15 KB, text/plain)
2015-09-01 17:15 UTC, javydreamercsw
Details
Modified configuration file. (2.96 KB, text/x-apache-conf)
2015-09-01 17:16 UTC, javydreamercsw
Details
Installer logs (4.85 MB, text/x-log)
2015-09-03 22:21 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2015-09-01 17:15:48 UTC
Product Version = NetBeans IDE 8.1 Beta (Build 201508041349)
Operating System = Linux version 3.13.0-62-generic running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

For some unknown reason, the installer for 8.1 beta (on linux) didn't configure the JDK location correctly. I have a 8.0.2 version installed prior to installing the beta version that worked fine.

See the attachment to see the correction I had to make (based on the working one) to make it work right.
Comment 1 javydreamercsw 2015-09-01 17:15:51 UTC
Created attachment 155810 [details]
IDE log
Comment 2 javydreamercsw 2015-09-01 17:16:34 UTC
Created attachment 155811 [details]
Modified configuration file.
Comment 3 Jiri Kovalsky 2015-09-02 17:35:50 UTC
Javier, can you reproduce it? If you do, does it mean that you for example select your preferred JDK during installation but when you launch 8.1 the IDE uses other JDK?
Comment 4 Libor Fischmeistr 2015-09-03 07:02:20 UTC
Hi, I would appreciate the installer log rather than IDE log :) Could you please attach it? <user home>/.nbi/log

Thanks
Comment 5 javydreamercsw 2015-09-03 22:21:57 UTC
Created attachment 155884 [details]
Installer logs

Hopefully this is it.
Comment 6 javydreamercsw 2015-09-03 22:29:37 UTC
(In reply to Jiri Kovalsky from comment #3)
> Javier, can you reproduce it? If you do, does it mean that you for example
> select your preferred JDK during installation but when you launch 8.1 the
> IDE uses other JDK?

I uninstalled and reinstalled with the following results:
1) It listed /usr and usr/lib/jvm... as valid installations, both 1.8.60 64 bits
2) Same issue when started the application.

I assume it does use something different. Is weird that the 8.0.1 seems to work fine on the same setup.
Comment 7 Libor Fischmeistr 2015-09-08 15:05:19 UTC
This changeset may could be the cause - http://hg.netbeans.org/core-main/rev/f99407f18f80
Comment 8 Libor Fischmeistr 2015-09-08 17:07:24 UTC
Javier, I would like to ask you for list off files in /usr directory...

probably there is some mismatch. The new Java checking algorithm detects JDK here, but not properly...