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 87551 - 200610xx nb6 runs only on JDK6 not on JDK1.5
Summary: 200610xx nb6 runs only on JDK6 not on JDK1.5
Status: RESOLVED DUPLICATE of bug 87926
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 17:35 UTC by ssoong
Modified: 2008-12-22 19:09 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 ssoong 2006-10-19 17:35:00 UTC
I uninstalled netbeans 6 and downloaded yesterday's build and installed it.
(Without uninstalling netbeans 5.5 which I am using).
Whenever I run the new nb6, it dies as soon as it is invoked creating and 
leaving behind an empty C:\Documents and Settings\myself\.netbeans\dev folder 
except for a lock file. I'm on JDK 1.505.

I ran nb.exe from command window and got this.
=============================================================================
C:\Program Files\netbeans\6.0\200610181800\bin>nb
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.netbeans.MainImpl.main(MainImpl.java:65)
        at org.netbeans.Main.main(Main.java:53)
Caused by: java.lang.VerifyError: (class: 
org/netbeans/core/startup/TopThreadGro
up, method: start signature: ()V) Incompatible object argument for function 
call

        at org.netbeans.core.startup.Main.main(Main.java:67)
        ... 6 more

C:\Program Files\netbeans\6.0\200610181800\bin>
Comment 1 _ rkubacki 2006-10-20 12:28:25 UTC
Looks like broken download/installation or problem with CLASSPATH. Can you check
this?
Comment 2 ssoong 2006-10-20 15:10:20 UTC
aa5a508e4c0fed2c35f6d4a9b347cef7 [MD5 published]
AA5A508E4C0FED2C35F6D4A9B347CEF7 [MD5Checker on downloaded file]

Notes:
NB5.5 runs **perfectly on the same JDK.
Uninstalled older version of NB6 ran **perfectly on the same JDK.

Would you I could write a java class to list the classpath,
but where would I place the class file since the nb start-logo flickers on and 
nb shuts down within a ***minute fraction of a second?

** perfect, despite the various issues (like code completion on jspx).
*** minute, mi·nute  (my-newt) rather than min·ute  (min-et)

Comment 3 ssoong 2006-10-23 17:28:34 UTC
Further actions:
1. I uninstalled NB6 200610181800 and installed NB6 200610191800.
2. NB6 200610191800 also would not start.
   It produces the same dump as had 200610181800 when started from command 
line.
3. Uninstalled 200610181800 and reinstalled NB6 old version 200609251800.
4. 200609251800 started with no problems.
Comment 4 ssoong 2006-10-24 15:45:14 UTC
Okay, just as I suspected - NB6 200610xx requires JDK6.

I installed nb6-20061022 on JDK1.5 and still wouldn't run.

I installed JDK6b2 and reinstalled nb6-20061022 ... voila!

Is this a bug or a feature? Is nb6 intended to be run on JDK6 only?
Comment 5 Marian Mirilovic 2006-10-25 20:29:56 UTC

*** This issue has been marked as a duplicate of 87926 ***