Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15235 - netbeans 3.4.1 ebuild ..
Summary: netbeans 3.4.1 ebuild ..
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Dylan Carlson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 16:27 UTC by Doug Miller
Modified: 2003-05-26 06:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Miller 2003-02-06 16:27:49 UTC
this may not be related to the actual netbeans 3.4.1 ebuild.  however, after
merging netbeans 3.4.1, and upon trying to start the IDE, an exception occurs:

-------------------------------------------------------------------------------
*********** Exception occurred ************ at Thu Feb 06 15:19:13 CST 2003
java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
        at java.awt.Font.initializeFont(Font.java:303)
        at java.awt.Font.<init>(Font.java:339)
        at org.netbeans.core.NbTheme.<init>(NbTheme.java:78)
        at org.netbeans.core.Main.run(Main.java:146)
        at org.openide.TopManager.initializeTopManager(TopManager.java:120)
        at org.openide.TopManager.getDefault(TopManager.java:81)
        at org.netbeans.core.NbTopManager.get(NbTopManager.java:237)
        at org.netbeans.core.NbErrorManager.getLogWriter(NbErrorManager.java:66)
        at org.netbeans.core.NbErrorManager.notify(NbErrorManager.java:159)
        at
org.openide.ErrorManager$DelegatingErrorManager.notify(ErrorManager.java:348)
        at org.openide.ErrorManager.notify(ErrorManager.java:150)
        at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:84)
[catch] at java.lang.Thread.run(Thread.java:536)


This is straight out of the log file.  It does have some other helpful
information on up in the help file:

-------------------------------------------------------------------------------
>Log Session: Thursday, February 6, 2003 2:21:10 PM CST
>System Info:
  Product Version       = NetBeans IDE 3.4.1
  IDE Versioning        = IDE/1 spec=2.23.2 impl=200301202341
  Operating System      = Linux version 2.4.19-gentoo-r10 running on i386
  Java; VM; Vendor      = 1.4.1_01; Java HotSpot(TM) Client VM 1.4.1_01-b01; Sun
 Microsystems Inc.
  Java Home             = /opt/sun-jdk-1.4.1.01/jre
  System Locale; Encod. = en_US; ANSI_X3.4-1968
  Home Dir; Current Dir = /home/orkim; /opt/netbeans-3.4.1/bin
  IDE Install; User Dir = /opt/netbeans-3.4.1; /home/orkim/.netbeans/3.4
  CLASSPATH             = /opt/netbeans-3.4.1/lib/patches/openide-compat.jar:/op
t/netbeans-3.4.1/lib/core-compiler.jar:/opt/netbeans-3.4.1/lib/core-execution.ja
r:/opt/netbeans-3.4.1/lib/core-ide.jar:/opt/netbeans-3.4.1/lib/core-ui.jar:/opt/
netbeans-3.4.1/lib/core-windows.jar:/opt/netbeans-3.4.1/lib/core.jar:/opt/netbea
ns-3.4.1/lib/openide.jar:/opt/netbeans-3.4.1/lib/ext/crimson.jar:/opt/netbeans-3
.4.1/lib/ext/regexp.jar:/opt/netbeans-3.4.1/lib/ext/rmi-ext.jar:/opt/netbeans-3.
4.1/lib/ext/terminalemulator.jar:/opt/netbeans-3.4.1/lib/ext/xerces.jar:/opt/net
beans-3.4.1/lib/ext/xml-apis.jar:/opt/sun-jdk-1.4.1.01/lib/dt.jar:/opt/sun-jdk-1
.4.1.01/lib/htmlconverter.jar:/opt/sun-jdk-1.4.1.01/lib/tools.jar

And yes, I (do/am wanting to) use suns jdk.  1.4.1_01 to be exact, which is the
latest unmasked/stable package available.  java-config is set up to use this jdk
(it's the only one installed.. blackdown has been removed).  here's its output
just in case:

invert root # java-config --help
Usage: java-config [OPTIONS] [LIBRARIES]
Options:
        [--javac]
        [--java]
        [--jar]
        [--jdk-home]
        [--jre-home]
        [--java-version]
        [--classpath[=package1,package2,...]]
        [--full-classpath=package1,package2,...]
        [--exec=filename]
        [--list-available-packages]
        [--list-available-vms]
        [--set-system-vm=<vm-id>]
        [--set-user-vm=<vm-id>]
        [--set-system-classpath=package1,package2,...]
        [--set-user-classpath=package1,package2,...]
        [--clean-system-classpath]
Using /opt/sun-jdk-1.4.1.01

invert root # java-config --list-available-vms
[sun-jdk-1.4.1.01] Sun JDK 1.4.1.01 (/etc/env.d/java/20sun-jdk-1.4.1.01)

invert root # java-config --jdk-home
/opt/sun-jdk-1.4.1.01

Hope this helps.  I would love to get this up and running and I've come to an
impass.  Keep up the great work on Gentoo!  :)

Doug Miller
Comment 1 Dylan Carlson (RETIRED) gentoo-dev 2003-05-26 06:49:24 UTC
I have tried reproducing this bug every which way to no avail.  I suggest the following:

1.  Back out netbeans and all JDKs
2.  Remerge the sun-jdk (or blackdown-jdk, or ibm -- I tested them all)
3.  Run java-config and set your system vm.
4.  Remerge netbeans-3.4.1
5.  Log out and log back in
6.  Run netbeans (/usr/bin/netbeans)
7.  If that doesn't correct your issue, please reopen this bug.

Cheers!