Re: JDK 1.1.7 doesn't swing
Craig, I have three thoughts, none of which are very good. :)
1) try running ldconfig (as root). I have seen this fix problems in the
past, usually under other linux distros, but one never knows... :)
2) try putting the swing-1.1.1.jar into the same place as your other
java stuffs -- maybe /usr/lib/jdk1.1/lib/i686/green_threads
I think the accepted behavior of CLASSPATH changed somewhere along the
way, I don't have a clue what it is supposed to do these days. (Not that
I ever grasped it back in the olden days.. :)
3) try installing xlib6g-dev package.
HTH
* Craig Coles <ccoles@Keylabs.com> [000310 11:59]:
> I have the current jdk1.1.7 package installed, with the swing-1.1.1 jar file
> in the CLASSPATH and get the following error when running a Swing GUI
> application. Is something wrong with the awt library file as indicated
> below, or is it something else??
>
>
> -Craig
>
>
>
>
>
> CLASSPATH=/usr/lib/jdk1.1/lib/classes.zip:/usr/local/java.lib/jsdk.jar:/usr/
> local/java.lib/swingall.jar:.
>
>
>
> ------ error output ------
> /usr/lib/jdk1.1/lib/i686/green_threads/libawt.so: undefined symbol:
> XtShellStrings (libawt.so)
> java.lang.UnsatisfiedLinkError: no awt in shared library path
> at java.lang.Runtime.loadLibrary(Runtime.java)
> at java.lang.System.loadLibrary(System.java)
> at
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394)
> at java.awt.Font.initializeFont(Font.java:106)
> at java.awt.Font.<init>(Font.java:121)
> at
> javax.swing.plaf.metal.DefaultMetalTheme.<init>(DefaultMetalTheme.java:59)
> at
> javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.
> java:709)
> at
> javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:71
> 3)
> at javax.swing.UIManager.setLookAndFeel(UIManager.java:363)
> at javax.swing.UIManager.setLookAndFeel(UIManager.java:390)
> at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:850)
> at javax.swing.UIManager.initialize(UIManager.java:926)
> at javax.swing.UIManager.maybeInitialize(UIManager.java:948)
> at javax.swing.UIManager.getUI(UIManager.java:559)
> at javax.swing.JPanel.updateUI(JPanel.java:110)
> at javax.swing.JPanel.<init>(JPanel.java:70)
> at javax.swing.JPanel.<init>(JPanel.java:100)
> at javax.swing.JRootPane.createGlassPane(JRootPane.java:224)
> at javax.swing.JRootPane.<init>(JRootPane.java:181)
> at javax.swing.JFrame.createRootPane(JFrame.java:154)
> at javax.swing.JFrame.frameInit(JFrame.java:147)
> at javax.swing.JFrame.<init>(JFrame.java:137)
>
>
> --
> To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
--
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: