* java problem in 4.0d
@ 1998-06-02 16:30 Bugs Brouillard
0 siblings, 0 replies; only message in thread
From: Bugs Brouillard @ 1998-06-02 16:30 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-06-02 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-02 16:30 java problem in 4.0d Bugs Brouillard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox