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_at_humboldt.edu
Received on Tue Jun 02 1998 - 18:31:59 NZST