Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 1996 20:28:17 -0700
From:      Pius Fischer <pius@iago.ienet.com>
To:        freebsd-ports@FreeBSD.ORG
Cc:        smpatel@umiacs.umd.edu
Subject:   javac_netscape doesn't work
Message-ID:  <199605240328.UAA27384@iago.ienet.com>

next in thread | raw e-mail | index | archive | help

Hi,

Whatever I try, I just can't get the javac_netscape port to work!

I installed the latest netscape3 port (3.0b4), then the jdk-1.0.1
port, and then the javac_netscape port, but when I try to compile
something with the javac script I always get a segmentation fault!

I got the same results with the previous netscape3 port (3.0b3).
Applets run fine inside Netscape, but when Netscape is invoked with
the "-java" option, it always seg faults (except when I follow the
"-java" with "-help"). I've tried to set the CLASSPATH environment
variable to about every value I can think of.

The "mkfontdir" fix for XFree86 got applets working inside Netscape
but it doesn't seem to help in this case.

Here's basically what I get:

> javac HelloWorld.java
May 23 19:39:35 iago /kernel: pid 27262 (netscape.bin), uid 1001: exited on signal 11
Segmentation fault
>

The same exact thing happens if I run Netscape directly with
"/usr/local/lib/netscape/netscape.bin -java".

Of course, if CLASSPATH doesn't point to either moz3_0.zip or
classes.zip then I get the following message (as expected):

Unable to initialize threads: cannot find class java/lang/Thread

I've tried setting CLASSPATH to all imaginable combinations of
"moz3_0.zip", "classes.zip", "src.zip", and "." -- I've seen all
sorts of javac scripts written by different people -- all of them
seem to set CLASSPATH to include at least "classes.zip". I've also
tried setting CLASSPATH to include the directories containing the
.zip files, but nothing worked.

I'm running the March 23, 1996 snapshot of FreeBSD 2.2.

Has anyone run into this problem by any chance?
Any ideas about what I can do to fix it?

Should this kind of question also be posted to freebsd-hackers?

Oh, I also tried using the classes.zip file from the new JDK 1.0.2.
Same result though. I have no idea what the problem is.

Thanks very much for any help,
Pius Fischer
pius@ienet.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605240328.UAA27384>