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 201692 - NetBeans won't start after changing jdkhome from JDK7 to JDK6
Summary: NetBeans won't start after changing jdkhome from JDK7 to JDK6
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 14:44 UTC by Vladimir Riha
Modified: 2011-09-13 06:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log (11.00 KB, text/plain)
2011-09-06 14:44 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-09-06 14:44:52 UTC
Created attachment 110433 [details]
log

Steps to reproduce:
- have jdk6 & jdk7 installed on your system
- install PHP bundle from trunk - NetBeans IDE Dev (Build 201109040600) and select jdk7 to be used during the installation
- start NetBeans, create PHP project, close NetBeans
- change jdk in netbeans.conf to jdk6
- start NetBeans
=> NetBeans won't start and exception is shown (see log)

If I switch back to jdk7, it works fine again. If I don't want to switch, I had to use new user dir and then NetBeans will work again with jdk6.



Product Version: NetBeans IDE Dev (Build 201109040600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Comment 1 Jaroslav Tulach 2011-09-12 13:40:35 UTC
reproduced on build 201109040600
Comment 2 Jaroslav Tulach 2011-09-12 14:01:11 UTC
Caused by duplicated singleton: org.eclipse.osgi from Netbinox and additional one provided by Mylyn.
Comment 3 Jaroslav Tulach 2011-09-12 14:06:38 UTC
Fixed at least in revision
http://hg.netbeans.org/main-golden/rev/c4d262f630a7
probably sooner.
Comment 4 Vladimir Riha 2011-09-13 06:32:59 UTC
verified