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

Summary: NetBeans won't start after changing jdkhome from JDK7 to JDK6
Product: connecteddeveloper Reporter: Vladimir Riha <vriha>
Component: BugzillaAssignee: Tomas Stupka <tstupka>
Status: VERIFIED FIXED    
Severity: normal CC: mmirilovic, vriha
Priority: P1    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: log

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