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 246388 - Cannot run NetBeans 8.0.1 RC on jdk 7u60 or 7u67 using --jdkhome
Summary: Cannot run NetBeans 8.0.1 RC on jdk 7u60 or 7u67 using --jdkhome
Status: VERIFIED DUPLICATE of bug 239959
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 8.0.1
Hardware: PC All
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 07:47 UTC by Lou Dasaro
Modified: 2014-08-13 06:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the error during startup on Ubuntu (6.24 KB, text/x-log)
2014-08-11 07:47 UTC, Lou Dasaro
Details
Shows the error during startup on Windows 8.1 (6.81 KB, text/plain)
2014-08-11 07:49 UTC, Lou Dasaro
Details
Shows the error during startup on Windows 8.1 with JDK 1.7.0_60 (6.81 KB, application/octet-stream)
2014-08-12 00:55 UTC, Lou Dasaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lou Dasaro 2014-08-11 07:47:02 UTC
Created attachment 148630 [details]
Shows the error during startup on Ubuntu

It appears that NetBeans 8.0.1 RC (b) won't run on Oracle JDK 1.7.0_67
See attached messages.log files for Ubuntu and Windows.
Comment 1 Lou Dasaro 2014-08-11 07:49:03 UTC
Created attachment 148632 [details]
Shows the error during startup on Windows 8.1
Comment 2 Lou Dasaro 2014-08-11 17:17:29 UTC
Correction: NetBeans IDE 8.0.1 RC, installed on jdk 1.8.0_20 ea b23, won't run when started with a --jdkhome set to jdk1.7.0_67
Comment 3 Lou Dasaro 2014-08-12 00:55:35 UTC
Created attachment 148648 [details]
Shows the error during startup on Windows 8.1 with JDK 1.7.0_60
Comment 4 Jiri Kovalsky 2014-08-12 13:55:57 UTC
Isn't this regression of #239959?
Comment 5 Jaroslav Tulach 2014-08-12 15:27:39 UTC
Is there JavaFX installed in your JDK? It would be:

C:\Program Files\Java\jdk1.7.0_60\jre\lib\jfxrt.jar
Comment 6 Martin Entlicher 2014-08-12 16:54:24 UTC
I did not manage to reproduce this issue on Ubuntu 14.04.
Unzipped both netbeans-8.0.1rc1-201408102300.zip and netbeans-8.0.1rc1-201408102300-javase.zip works fine for me on jdk1.7.0_67 and netbeans-8.0.1rc1-javase-linux.sh installed on jdk1.8.0_20-b23 starts up fine when run with --jdkhome /mnt/SSD180/JDK/jdk1.7.0_67

Do you do an import from an older existing user directory?

Will test on Windows later on...
Comment 7 Martin Entlicher 2014-08-12 17:05:35 UTC
I've checked issue #239959 on Ubuntu using these steps:
1.) Run NetBeans with a fresh userdir on JDK8
2.) Close NetBeans
3.) Run NetBeans (with userdir initialized in step 1) on JDK7
And I did not encounter a problem in NetBeans IDE 8.0.1 RC1 (Build 201408102300)
Comment 8 Lou Dasaro 2014-08-12 18:03:08 UTC
Yes, it all comes back to me now... kicking myself.

You must run NetBeans once to initialize userdir and cachedir. Then you can run with a prior JDK.

The instructions for the test case (which I blindly followed) need to be changed because they specified a clean userdir and cachedir, which WONT work and I should know better! 

I wrote up and assigned myself bug 246413 and am closing this as a duplicate of bug 239959 which has been Fixed.

*** This bug has been marked as a duplicate of bug 239959 ***
Comment 9 Jiri Kovalsky 2014-08-13 06:30:19 UTC
Thanks guys!