[Nix-dev] Java support in Firefox?

Peter Simons simons at cryp.to
Sun Apr 1 09:10:47 CEST 2012


Hi Lluís,

 > Btw, specifically that page you gave *hangs* my firefox, which in
 > this case does not have that update. By crash you mean hang?

my browser used to hang when attempting to execute Java applets, but now it
crashes outright. I have no idea when this started to happen, unfortunately.

 > Now that I recheck, firefox 11 hangs me at other pages for long, and here
 > I don't have my last commit for the jdk. After the hang for some time,
 > the java windows paint bad.

Yes, this sounds like what I used to see. There's just a black rectangle in
the browser, and when I mess around with the Firefox window system a little,
then it eventually shows garbage.

I also tried to run jbidwatcher, which used to work just fine approx. half a
year ago, but now it crashes, too:

 | $ jbidwatcher
 | 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(DelegatingMethodAccessorImpl.java:25)
 |         at java.lang.reflect.Method.invoke(Method.java:597)
 |         at com.simontuffs.onejar.Boot.run(Boot.java:306)
 |         at com.simontuffs.onejar.Boot.main(Boot.java:159)
 | Caused by: java.lang.UnsatisfiedLinkError: /nix/store/71asbv5k1pnn2b10pijfb78mp9dc1n9h-jre-1.6.0_24/lib/amd64/xawt/libmawt.so: /nix/store/71asbv5k1pnn2b10pijfb78mp9dc1n9h-jre-1.6.0_24/lib/amd64/xawt/libmawt.so: ELF file ABI version invalid (Possible cause: can't load this .so (machine code=0x4005) on a AMD 64-bit platform)
 |         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 |         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
 |         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
 |         at java.lang.Runtime.load0(Runtime.java:770)
 |         at java.lang.System.load(System.java:1003)
 |         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 |         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
 |         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720)
 |         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 |         at java.lang.System.loadLibrary(System.java:1028)
 |         at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
 |         at java.security.AccessController.doPrivileged(Native Method)
 |         at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
 |         at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
 |         at java.awt.Color.<clinit>(Color.java:263)
 |         at javax.swing.plaf.metal.MetalTheme.<clinit>(MetalTheme.java:59)
 |         at javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:1671)
 |         at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:1566)
 |         at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1588)
 |         at javax.swing.UIManager.setLookAndFeel(UIManager.java:514)
 |         at javax.swing.UIManager.setLookAndFeel(UIManager.java:554)
 |         at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1317)
 |         at javax.swing.UIManager.initialize(UIManager.java:1406)
 |         at javax.swing.UIManager.maybeInitialize(UIManager.java:1394)
 |         at javax.swing.UIManager.getInstalledLookAndFeels(UIManager.java:394)
 |         at com.jbidwatcher.app.JBidWatch.main(JBidWatch.java:403)
 |         ... 6 more

Who is the resident Java guru around here? :-)

Take care,
Peter



More information about the nix-dev mailing list