🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.help
Article #16

Re: /java_301' is not an ELF file?

#16
From: J Ryan Younce
Date: Mon, 02 Dec 1996 00:00
59 lines
4035 bytes
alt.uu.comp.os.linux.questions transmission from stewarth@arches.uga.edu loading...
100% loaded...please commence:
: I run Netscape 3.01 from command line and I get this
: 
: netscape: '/usr/local/lib/netscape/plugins/java_301' is not an ELF file
: ERROR: Not an ELF file
: Cant load plugin /usr/local/lib/netscape/plugins/java_301. Ignored.
: Bus error

I'm not certain about the ELF file error, but I believe it may be produced
from the lack of JAVA support in the Linux kernel.  You might want to try
recompiling a new kernel with JAVA support included.

: Netscape runs fine until I go to a site that has a lot of graphics, or
: lots of graphics and a java applet, then it just goes away.  Then I fire
: it back up and the page loads fine.  When it crashes it does not exit with
: an error message, it just goes away.  Anyone got any ideas?
: Thanks.

This was a big discussion on other newsgroups and I found a solution (thanks
to a man who I have since forgotten his name) with the libraries.

  1)  Get a copy of gnumalloc.so and stash it into /lib.  Get gnumalloc.so
      from ftp://cheshire.catt.ncsu.edu/lib/gnumalloc.so

  2)  (I'm sure there's another way to do this more efficiently, but I haven't
      really messed with it).  Move netscape to netscape.bin (or something),
      and write the following script as "netscape":

              #!/bin/bash
              export CLASSPATH="/usr/local/lib/netscape/java_301"
              export LD_PRELOAD="/lib/gnumalloc.so"
              /usr/local/bin/netscape.orig
              # end of script

      or put lines 2 and 3 into /etc/profile (if you use tcsh or csh, put
      "setenv CLASSPATH /usr/local/lib/netscape/java_301 blah blah blah into
      /etc/csh.cshrc).  At any rate, regardless of what you do, make sure
      LD_PRELOAD is defined as the library.

  3)  chmod +x netscape, obviously

  4)  run netscape.  It should work okay now.  I'm not certain as to the
      exact cause of the bus error, but that, as far as I know, is impossible
      with the Intel architecture and is thus a Netscape bug (can we say
      bug number 1 zillion?)

This worked for me.  The java_301 file did not load with mine before because
JAVA support wasn't compiled.  It might be another reason with yours, but I
do not know.

Ryan Younce

-- 
RYAN YOUNCE the USENET GUY  |"A life of self-delusion, while certainly fraught
ryany@pobox.com             | with angst, despair, and ultimately a distinct
http://pobox.com/~ryany     | sense of lack of self-worth, CAN be briefly 
HERFH! HERFH! HERFH! HERFH! | comforting and even entertaining"   -Andy Damick
Technical Details
Message-ID: <57ubk2$67f@taco.cc.ncsu.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <57k9rq$gkr@hobbes.cc.uga.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11033e,e297a9ff131a9d0e
X-Google-Attributes: gid11033e,public
X-Google-Thread: f4bda,e297a9ff131a9d0e
X-Google-Attributes: gidf4bda,public
X-Google-Thread: 10a997,e297a9ff131a9d0e
X-Google-Attributes: gid10a997,public
X-Google-Thread: 100b1f,e297a9ff131a9d0e
X-Google-Attributes: gid100b1f,public
From: ryan@cheshire.catt.ncsu.edu (J Ryan Younce)
Subject: Re: /java_301' is not an ELF file?
Date: 1996/12/02
Message-ID: <57ubk2$67f@taco.cc.ncsu.edu>
X-Deja-AN: 203061134
x-disclaimer: Email replies to this *may* become posted.
references: <57k9rq$gkr@hobbes.cc.uga.edu>
x-place-to-send-grievances: postmaster@cheshire.catt.ncsu.edu
x-story-of-my-life: Once, I saw this bird sitting in a tree, and wouldn't you know it, that bird looked like me, so I told him to take a hike and get off my branch.  Thank you, thank you.
followup-to: comp.os.linux.help,ahn.tech.linux,comp.os.linux.x,alt.uu.comp.os.linux.questions
x-place-where-grievances-go: /dev/null
organization: Wonderland
x-gpa-diminisher: (see X-Machine-Destined-to-Send-Me-to-Hell above)
x-url: http://www.catt.ncsu.edu/~cheshire
reply-to: ryany@pobox.com
newsgroups: comp.os.linux.help,ahn.tech.linux,comp.os.linux.x,alt.uu.comp.os.linux.questions
x-machine-destined-to-send-me-to-hell: http://cheshire.catt.ncsu.edu