> when i run the java command with option '-green' it gives this error: > > Green threads support not available > Could not create the Java virtual machine.
HotSpot Server and Client VM need native threads. They cannot work with green threads. So, you have to choose Classic VM if you want to use green threads. You can change the kind of JVM by modifying <JDK_HOME>/jre/lib/jvm.cfg or supplying -classic option to the java command. Recent JDK may not accept -green option even if you choose the Classic VM. In that case, <JDK_HOME>/bin/.java_wrapper and <JDK_HOME>/jre/bin/.java_wrapper are worth investigating. Those shell scripts are invoked when you run the java command. At least, you can choose the thread library by modifying those scripts because the scripts determine whether threading library is used. > so it seems that there is no support for green threads anymore in > 'j2re-1.3.1-02b-FCS-linux-i386.bin' Note that JDK (JRE) 1.4 does not contain the Classic VM. Thus we cannot use green threads with 1.4. Kazuyuki Shudo [EMAIL PROTECTED] http://www.shudo.net/ ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]