[Nix-dev] Java support in Firefox, or java in general

Lluís Batlle i Rossell viric at viric.name
Sun Apr 1 12:02:02 CEST 2012


On Sun, Apr 01, 2012 at 11:21:51AM +0200, Lluís Batlle i Rossell wrote:
> On Sun, Apr 01, 2012 at 10:58:28AM +0200, Lluís Batlle i Rossell wrote:
> > On Sun, Apr 01, 2012 at 09:10:47AM +0200, Peter Simons wrote:
> > >  > Btw, specifically that page you gave *hangs* my firefox, which in
> > >  > this case does not have that update. By crash you mean hang?
> > > I also tried to run jbidwatcher, which used to work just fine approx. half a
> > > year ago, but now it crashes, too:
> > > 
> > >  | $ jbidwatcher
> > >  | 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)
> > > 
> > > Who is the resident Java guru around here? :-)
> > 
> > I wish we had one! Someone packaged openjdk7 though. This sounds to me as it
> > could be related to 'strip'... I'll try dontStrip. But that's my first almost-blind guess.
> 
> Here, x86_64, jbidwatcher starts fine. Also freemind.
> 
> Do you use the envvar AWT_TOOLKIT=MToolkit ?  I don't.
> 
> $ nm /nix/store/bldh16hdv4008dhgylj30986pzz8ajpn-jre-1.6.0_32b03/lib/amd64/libnpjp2.so | grep alloc_template 
> .....
>                  U _ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
>                  U _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm

Looking in my /nix/store, those kind of symbols appear only in gcc 3.x libs.
Maybe the binary packagers of 1.6.0_32b03 built it for gcc 3.x? Or I picked
wrong files from the java download web site?


More information about the nix-dev mailing list