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 75463 - Cannot start installed NetBeans.app from icon
Summary: Cannot start installed NetBeans.app from icon
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P1 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 08:49 UTC by Jaromir Uhrik
Modified: 2012-06-06 18:29 UTC (History)
3 users (show)

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 Jaromir Uhrik 2006-04-25 08:49:46 UTC
NetBeans IDE Dev (Build 200604242200)
1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-43
Mac OS X version 10.4.6 running on ppc
en_US (nb); MacRoman

It is not possible to run NetBeans.app from icon on Mac. The system console
utility shows following stack:

===== Tuesday, April 25, 2006 9:45:56 AM Europe/Prague =====
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/openide/util/lookup/Lookups (Unsupported major.minor version 49.0)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
	at org.netbeans.Main$BootClassLoader.<init>(Main.java:215)
	at org.netbeans.Main.execute(Main.java:148)
	at org.netbeans.Main.main(Main.java:50)
Comment 1 mslama 2006-04-25 09:02:10 UTC
You must start IDE with JDK 1.5 ie. change default JDK to 1.5. Better handling
of this case should be already in NB startup code but I do not know status.
Passing to core.
Comment 2 Marian Mirilovic 2006-04-25 09:21:52 UTC
Jara, 
I think it has been already solved , see issue 74498. Could you please try it
again with latest build? 
Thanks in advance.
Comment 3 Jan Horvath 2006-04-25 09:31:29 UTC
I cannot reproduce it, in the same build on MacOSX 10.4.6/PPC
Comment 4 Jaromir Uhrik 2006-04-25 09:55:16 UTC
I am very sorry. Now I know what is the problem. The problem with icon start is
clear. The second thing is that it didn't start from console. I wrote
"./netbeans -userdir  -jdkhome $JDK150" to the console. My mistake that I didn't
delete "-userdir" part of this command. It returned the same error as the start
from icon  because of that "-userdir" substring. Sorry again - closing this issue.
Comment 5 Jaromir Uhrik 2006-08-16 15:32:02 UTC
I am closing this issue.
Comment 6 Storyteller 2012-06-06 18:18:25 UTC
I didn't really get any error messages; the Netbeans IDE just refused to start when I clicked on the icon. I tried uninstalling and reinstalling it and it didn't help.
Comment 7 Ondrej Vrabec 2012-06-06 18:29:34 UTC
(In reply to comment #6)
> I didn't really get any error messages; the Netbeans IDE just refused to start
> when I clicked on the icon. I tried uninstalling and reinstalling it and it
> didn't help.
Please file a separate one, this was originaly reported from MacOS and releated to the reported exception. File a new issue, provide the version of NetBeans you're using. Also try to start from shell and attach the output in the issue. Thanks