Still no luck with the suggested thread change.

Specifically, when compiling a program which uses threads comes with:
robot.java -
"Could not instantiate /java/lang/Thread"

//robot.java, an intended java 1.1 program
import java.awt.*; 
import java.awt.applet.*;

public class robot extends Applet implements Runnable {
   Thread animator;
   public void start() { (if animator == null) 
        animator = new Thread(this);
         animator.start(); 
   }
   public void stop() { if animator != null) animator.stop(); }
   public void run() { //some code }
}


output of ldconfig and ldd -v appears fine (libawt and libjava) are
picked up correctly. So I'm at a loss to
understand the nature of the problem.  No other problems with the JDK.
HotJava1.1.4 and Netscape 4.05 (non-java 1.1) work fine, so I suspect
it's JDK related. 

kernel 2.0.34, libc5.4.44, ld.so.1.7.14, jdk1.1.3

Cheers,

Mark

Reply via email to