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 143114 - NB installation from opensolaris repo fails (was: can't start netbeans)
Summary: NB installation from opensolaris repo fails (was: can't start netbeans)
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Solaris Packages (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@installer
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-08-07 00:48 UTC by lachlanp
Modified: 2008-08-11 05:18 UTC (History)
5 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 lachlanp 2008-08-07 00:48:48 UTC
Apologies if this is in the wrong place- It could be an issue with opensolaris package manager.

I can't start netbeans. I have a fairly vanilla opensolaris 2008.05 install. Installed netbeans 6.0.1-0.86 from IPS
(opensolaris repository).

I get the following error...
Exception in thread "main" java.lang.ClassNotFoundException: org.netbeans.core.startup.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:231)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.netbeans.MainImpl.execute(MainImpl.java:199)
        at org.netbeans.MainImpl.main(MainImpl.java:75)
        at org.netbeans.Main.main(Main.java:75)
Comment 1 David Simonek 2008-08-07 08:13:03 UTC
Martin, Tonda, who is responsible for solaris packaging? This seems to be serious issue, thanks.

lachlanp, could you add more details how to reproduce this bug? Is it failing right after you install netbeans from
opensolaris repo? Any special settings in your opensolaris installation?
Comment 2 dlipin 2008-08-07 10:05:16 UTC
Afaik BE (Michal Zlamal) did the packages for 6.1, Shura (Alexandre Iline, I don`t know his netbeans id) did it for 
6.0.1. Not sure who is responsible now...
Comment 3 Petr Dvorak 2008-08-07 16:38:19 UTC
I tried to reproduce this issue, but with no success.

I have installed OpenSolaris 2008.05 on my laptop (Acer Aspire 1350, AMD Athlon-M 2000+, 512-64MB RAM) and then I
installed a "netbeans" package (Netbeans 6.0.1) using the package manager (System>Administration>Package Manager).
During the first NB startup, I was asked to disable some (cca 4-5) modules from "web" category (a dialog with "Cancel"
and "Disable and Continue" buttons showed up).

But otherwise everything else worked for me, nothing special to complain (except for the fact that NB startup was like 3
times slower than I know from Ubuntu I was running on this machine before and that IDE was almost unresponsive).
Comment 4 lachlanp 2008-08-08 05:30:30 UTC
Hi,

Thanks for the prompt reply. Happy to believe something's wrong with my install. Any ideas? I thought the startup script
would set the classpath for me but maybe my shell? What outputs/errors should I check?

Cheers
Comment 5 David Simonek 2008-08-08 09:20:44 UTC
Passing to correct owner and back to P3 as it seems random (we can't reproduce)
Comment 6 lachlanp 2008-08-11 05:18:49 UTC
definitely random.
I have re-installed OS and it works now.
Apologies for my error, and thanks for looking into it.