i now managed to use green threads with jre1.2.2 v3 ( i didnt get it to work
with 1.3.1 FCS-02b)

but now i get this error while the program is running (which i didnt get
witht he native on the 1.3.1)

java.lang.NoSuchMethodError: java.net.Socket: method shutdownInput()V not
found
        at org.moock.unity.core.Client.doDie(Unknown Source)
        at org.moock.unity.core.ClientReceive.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:479)

what version of jre would you recommend me that runs with greens threads and
has that method ?

bruno

-----Original Message-----
From: Juergen Kreileder [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 7 juni 2002 14:22
To: Waes Bruno
Cc: '[EMAIL PROTECTED]'
Subject: Re: how to enable green threads


Waes Bruno <[EMAIL PROTECTED]> writes:

> 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.
> 
> can anyone help me or point me to any information about this ?

With our VM you can use one of these:

 * "java -green"

 * set THREADS_FLAG=green and use "java -classic"

 * make "-classic" the first entry in jvm.cfg, set THREADS_FLAG=green
   and simply use "java"

 

        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 
> *************************************************************
> 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]

Reply via email to