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.
so it seems that there is no support for green threads anymore in 'j2re-1.3.1-02b-FCS-linux-i386.bin' although there is a /bin/i386/green_threads directory ? do i have to go back to an older version of the JVM ? bruno -----Original Message----- From: Waes Bruno [mailto:[EMAIL PROTECTED]] Sent: vrijdag 7 juni 2002 8:06 To: 'Wilhelm *Rafial* Fitzpatrick' Cc: '[EMAIL PROTECTED]' Subject: RE: how to enable green threads well ... it is running native threads then ... that .java_wrapper file should decide if i want native or green threads doesnt it ? then why doesnt it do it bruno -----Original Message----- From: Wilhelm *Rafial* Fitzpatrick [mailto:[EMAIL PROTECTED]] Sent: vrijdag 7 juni 2002 2:17 To: Waes Bruno Cc: '[EMAIL PROTECTED]' Subject: Re: how to enable green threads At 4:43 PM +0200 6/6/02, Waes Bruno wrote: >how do i enable green threads ? >and how do i check if a java app is running with green threads or not ? > > >export PATH="$PATH:/opt/j2re1.3.1/bin" >export JAVA_COMPILER=NONE >export THREADS_FLAG=green >export THREADS_TYPE=green_threads > >is in my bashrc file > >but i dont think it runs with green threads yet. This should be right. The easiest way I know how to check to see what kinds of threads are in use is to run a java application that creates multiple threads, and then do a ps to see how many processes are active. If your java app is using native threads on Linux, you'll see one java process per thread. If your java app is using green threads, you should only see a single java process. > ************************************************************* > Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie > bevatten die vertrouwelijk is en/of beschermd door intellectuele > eigendomsrechten. Dit bericht is uitsluitend bestemd voor de > geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht > (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder > elke vorm) door andere personen dan de geadresseerde(n) is verboden. > Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender > hiervan te verwittigen en dit bericht te verwijderen. > > This e-mail and any attachment thereto may contain information which is > confidential and/or protected by intellectual property rights and are > intended for the sole use of the addressees. Any use of the information > contained herein (including but not limited to total or partial > reproduction or distribution in any form) by other persons than the > addressees is prohibited. If you have received this e-mail in error, > please notify the sender and delete its contents. > ************************************************************* > ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]