From: Bugs Brouillard <bb1 () axe ! humboldt ! edu>
To: tru64-unix-managers
Subject: java problem in 4.0d
Date: Tue, 02 Jun 1998 16:30:58 +0000 [thread overview]
Message-ID: <96078712011375.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1998-06-02 16:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox