On Tue, 2 Jun 1998, Bugs Brouillard wrote:
->
->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
->
No one responded, Dec could not help me, and another alpha that
i administer with the same OS level worked, so i knew it had to
be me.
2 months ago i reduced some PROC params because a student had a
runaway process that used all of virtual memory. This morning i set
those params back to what they were. Life is beautiful again.
The params are:
per-proc-data-size=134217728
max-per-proc-data-size=1073741824
max-per-proc-address-space=1073741824
per-proc-address-space=1073741824
I had set them all to 50 mb, after all my total virtual memory is
only 604 mb.
A thanks to Derrick from Seattle, a DEC specialist for trying to
resolve this for me, after seeing my original message.
Bugs Brouillard Unix system administrator
Humboldt State Univ. 707-826-6123
Arcata, Calif Fax 707-826-6100
email bb1_at_humboldt.edu
Received on Wed Jun 03 1998 - 17:03:06 NZST