From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078712011375.tru64-unix-managers.marc@archive.invalid> From: Bugs Brouillard Date: Tue, 02 Jun 1998 16:30:58 +0000 To: tru64-unix-managers Subject: java problem in 4.0d X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078712011375 Hi managers, In upgraded a 2100 to 4.0d, installed the jumbo patch. We did have java 1.0.2 before the upgrade. Java 1.1.4 came with 4.0d but it doesnt work right. I used an example from the documentation: HelloWorldApp.java /** * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); //Display the string. } } Here is what happens: > javac HelloWorldApp.java dlopen: cannot load libsuncompiler.so (libsuncompiler.so) It does compile and create a class file, and it executes, but still gives an error: > java HelloWorldApp dlopen: cannot load libsuncompiler.so (libsuncompiler.so) Hello World! And when I use one that DID work before the upgrade, using java 1.0.2: Hello.java: import java.applet.Applet; //import Applet class import java.awt.Graphics; //import Graphics class public class Hello extends Applet { public void paint(Graphics g) { g.drawString("Hello, Java World!",5,50); } } It now fails with: > javac Hello.java dlopen: cannot load libsuncompiler.so (libsuncompiler.so) > java Hello dlopen: cannot load libsuncompiler.so (libsuncompiler.so) In class Hello: void main(String argv[]) is not defined Have any ideas what the problem is? Thanks Bugs Brouillard Unix system administrator Humboldt State Univ. 707-826-6123 Arcata, Calif Fax 707-826-6100 email bb1@humboldt.edu