Re: Problems with Threads (Code included)

1998-12-14 Thread zun
> The use of 'this' is neither redundant nor allowed here -- the > methods (recibirPeticion() and enviarPeticion()) are static and > there is no 'this' in class methods. A 'synchronized static' method > synchronizes on the class object. Jeurgen is of course right, sorry I didn't take enough t

Re: Problems with Threads (Code included)

1998-12-14 Thread Juergen Kreileder
> Christopher Hinds writes: Christopher> [1 ] Christopher> [1.1 ] Christopher> The use of "this" is just plain redundant since Christopher> Cliente.class is by default derived from Christopher> "java.lang.Object" it is not nessassary to append Christopher> "this." to

Re: Problems with Threads (Code included)

1998-12-14 Thread Christopher Hinds
The use of  "this" is just plain redundant since Cliente.class is by default derived from "java.lang.Object" it is not nessassary to append "this." to wait() or notify() or any other of the monitor metheds in this case. Hint : take a look at the core API class hierarchy. Cheers Chris [EMAIL PROTE

Re: Problems with Threads (Code included)

1998-12-14 Thread zun
On Mon, 14 Dec 1998, Carlos Alberto Roman Zamitiz wrote: > Hi, I attached my Cliente.java > I have 2 threads: Receptor and Transmisor. Receptor sends and receives > data from server, using method recibirPeticion(), forever (well, it sleeps > 3 seconds). When Transmisor sends data, using method

Re: Problems with Threads (Code included)

1998-12-14 Thread Christopher Hinds
I Think this was stated before but anyway here goes again. The Cliente.class is derived from java.lang.Object and every object has a Monitor. The Monitor for an object "this" can only be accessed by a synchronized methed(s) of the object , which is this case is Cliente.class in recibirPeticion() a

Re: Linux Red Hat ethernet driver

1998-12-14 Thread John Summerfield
On Mon, 14 Dec 1998, Dan Finkelstein wrote: > Hi- > > Sorry if this is the wrong list, but... It is. > > I'm installing Red Hat Linux 5.2 on a Compaq. The ethernet driver, tlan.o, > for this machine is copied to the file system. But Red Hat's install > program doesn't list it amongst its dr

native threads and jdk1.1.6

1998-12-14 Thread Toby J Sargeant
Hi, I'm currrently doing my masters thesis on concurrent paradigms in Java, and naturally I'm very interested in the fact that the linux port now has native thread support. Sadly, however, I've only got the jdk 1.1.6 source, and I'm finding it very difficult to get in touch with someone at sun so

Re: Reading (All) Environment Variables in W95/NT

1998-12-14 Thread John Summerfield
On Mon, 14 Dec 1998 [EMAIL PROTECTED] wrote: The stuff you outline here depends on your shell: even on Unix it won't work in all cases without some changes. Solutions on NT: 1 Get bash and use that to run your java app. Then you can use your backticks and other funnies. I think you can get it a

Re: Swing applications + TYA 1.2?

1998-12-14 Thread Gerald Preissler
Bryce McKinlay <[EMAIL PROTECTED]> writes: > I was going to send this to Albrecht Kleine (author of TYA), but can't seem to > resolve his mail address, so I'll post it here. Origional message follows: > > -- [error message sniped] > Environment: - Kernel 2.1.131ac8 - glibc 2.0.7-29 - J

Re: Problem with TYA 1.2

1998-12-14 Thread Bryce McKinlay
Mario Camou wrote: > Jason and Mark, > > Thanx for your quick replies! Uncommenting the "#define IGNORE_DISABLE" in tya.c did > it. What I'd like to know (I'm really curious!) is exactly WHAT is trying to turn off > the JIT. Could it be Swing? Swing 1.1 tries to disable the JIT during some huge

list/mail

1998-12-14 Thread 1
I don't want to receive any more mail.What can I do to unsubscribe from this list?

Re: Problem with TYA 1.2

1998-12-14 Thread Mario Camou
Jason and Mark, Thanx for your quick replies! Uncommenting the "#define IGNORE_DISABLE" in tya.c did it. What I'd like to know (I'm really curious!) is exactly WHAT is trying to turn off the JIT. Could it be Swing? Also, Mark told me that this had been covered a few days ago in this list. Sorry

Linux Red Hat ethernet driver

1998-12-14 Thread Dan Finkelstein
Hi- Sorry if this is the wrong list, but... I'm installing Red Hat Linux 5.2 on a Compaq. The ethernet driver, tlan.o, for this machine is copied to the file system. But Red Hat's install program doesn't list it amongst its drivers from which to select. I have the file, but don't know how to

Re: Problem with TYA 1.2

1998-12-14 Thread Jason Gilbert
On Mon, 14 Dec 1998, Mario Camou wrote: > I just installed TYA 1.2. My code used to work perfectly with previous versions, > now I get a thread dump. > > There's also a weird "user programm switched off JIT compiling" message. It appears that the jvm is calling a method that switches off the ji

Which optimizations does the javac compiler do?

1998-12-14 Thread Kontorotsui
I noticed the -O flag of the javac compiler. What are the optimizations that the javac usually does? Which ones are activated by the -O flag? I tried the -O flag in my n-body distributed computing java application, but the performance was worse than without the -O flag. --- Andrea "Kontorotsui"

Re: Problems with Threads (Code included)

1998-12-14 Thread Juergen Kreileder
> Mario Camou writes: Mario> Carlos, Mario> Your problem is with Mario> Thread.currentThread().wait()/notifyAll(). Since your Mario> method is synchronized, you own the monitor for "this", not No. Since the the methods are 'synchronized' and 'static', he owns the monitor for

list

1998-12-14 Thread 1
unsubscribe list *

Problem with TYA 1.2

1998-12-14 Thread Mario Camou
Hi, I just installed TYA 1.2. My code used to work perfectly with previous versions, now I get a thread dump. Intel Pentium Kernel 2.0.36 JDK 1.1.7v1a Red Hat 5.1 with all updates applied There's also a weird "user programm switched off JIT compiling" message. This behavior is completely repro

Re: Problems with Threads (Code included)

1998-12-14 Thread Mario Camou
Carlos, Your problem is with Thread.currentThread().wait()/notifyAll(). Since your method is synchronized, you own the monitor for "this", not the monitor for currentThread() (every object has its own monitor). Try removing "Thread.currentThread()." and leaving just the "wait()/notifyAll()" call

Re: Problems with Threads (Code included)

1998-12-14 Thread Carlos Alberto Roman Zamitiz
Hi, I attached my Cliente.java I have 2 threads: Receptor and Transmisor. Receptor sends and receives data from server, using method recibirPeticion(), forever (well, it sleeps 3 seconds). When Transmisor sends data, using method enviarPeticion(), Receptor must wait until Transmisor ends his trans

VAJava petition...

1998-12-14 Thread Jauvane Cavalcante de Oliveira
The petition site is back online. Goto http://www.jguru.com/thetick/visualage/tips/ and chose the "Petition" link at the end... JVc.

Re: Java Booster

1998-12-14 Thread James Seigel
TYA1.2 ftp://gonzalez.cyberus.ca/pub/Linux/java Tobias Ramos wrote: > Hi there people... > > Can someone tell me where I can find any Java performance booster for > linux? > > thanx. > > Tobias Ramos > Diamantina MG > [EMAIL PROTECTED]

Java Booster

1998-12-14 Thread Tobias Ramos
Hi there people... Can someone tell me where I can find any Java performance booster for linux? thanx. Tobias Ramos Diamantina MG [EMAIL PROTECTED]

Re: Java 1.2

1998-12-14 Thread Jeremiah Jahn
I don't know if I missed something, but it looks like the FAQ has been updated. -jj- -- -BEGIN PGP PUBLIC KEY BLOCK- Version: 2.3 mQCNAi0lY4sAAAEEAPR4vyny2WCxVe4gW7u+zPT2fH6vFTwMxAoBOrrUn92aGKJr ronHVYMbSO9CwBK3F1KKi+IGB/SxkjH7x2j/b7HiwHjKb+mkDa+lA6eOh9x8A7dJ 55be0mOMF+W9FLDdIgK/RDLFo

Re: JDBC-connection in Linux

1998-12-14 Thread Christopher Hinds
Sorry all, I recievied a eval copy at JavaOne in March of this year and at that time they where free and very solid in terms of performance and reliabilty( even type 4, I never usded their JDBC-ODBC bridge). :-< Cheers Chris Rachel Greenham wrote: On Sat, 12 Dec 1998, Christopher Hinds wrote: >>T

Re: Killing Applets in browsers

1998-12-14 Thread John Summerfield
On Sun, 13 Dec 1998, Leo Cyr wrote: > If you use HotJava (current is 1.1.5) for some reason ;-) it automatically > re-downloads the classes/jars specified in the Applet tag. I'm not sure why > -- I guess it is realted to the browser's cache, but caching of html is > still on... It just works...

Re: VAJava 4 Linux petition is still on!!!

1998-12-14 Thread Jacques Chansavang
So, do I. But this URL does not respond. Jacques Chansavang IBM Global Services [EMAIL PROTECTED] Phone: (219)455-6234 >>> Rachel Greenham 12/14 6:34 AM >>> On Sun, 13 Dec 1998, Jauvane Cavalcante de Oliveira wrote: >I just received a messge letting me know that the petition asking IBM to >rele

Re: Java 1.2

1998-12-14 Thread Mike Zauzig
I asked this question a month ago and did not get a single response. So I'm assuming one of two possibilities: either Sun has virtually taken over the porting of Java2 to Linux and the Blackdown developers are being hush hush about it for some unknown reason, OR, everybody's just too busy and not

Re: Reading (All) Environment Variables in W95/NT

1998-12-14 Thread peter . pilgrim
Thanks well I found my copy of jikes which has a `jd.bat' file: pilgpe@poppy [58] > c jikes-1.11/jd.bat @echo off rem Set JD and JDK to match the appropriate installation directories on your system. rem set JD=c:\derek\jbin\jd.zip set JDK=c:\java\lib\classes.zip rem echo on java -nojit -c

Re: Reading (All) Environment Variables in W95/NT

1998-12-14 Thread peter . pilgrim
I think a small setup program that generates this default property file maybe the answer too. I am thinking of a simple JTable name and value. Am not sure if I follow you. Do you mean that I should set this in my application. Because then we have a chicken and egg scenario. I want to use the pr

Re: Reading (All) Environment Variables in W95/NT

1998-12-14 Thread Pavel Tolkachev
Try something like this in your NT/95 startup script (smth like this must work also on linux/bash with changing \ to /, %% to $, del to rm and doing smth with :s and ;s in multiple paths in environment): set >%TMP%\env java -Denv.file=%TMP%\env ... del %TMP%\env and then in your code: Properties

Re: VAJava 4 Linux petition is still on!!!

1998-12-14 Thread Rachel Greenham
On Sun, 13 Dec 1998, Jauvane Cavalcante de Oliveira wrote: >I just received a messge letting me know that the petition asking IBM to >release a version of VAJava is still collecting signatures and will soon >be forwarded to IBM. So, if you did not sign it already and you would >like to have suc

Re: JDBC-connection in Linux

1998-12-14 Thread Rachel Greenham
On Sat, 12 Dec 1998, Christopher Hinds wrote: >>Try WebLogic's , they have multiple Type 4 (and Type 2) JDBC Drivers >for most of production comercial DBMSs > www.weblogic.com > >They may be free , in any event they do offer eval licenses Not free. We evaluated it with reference to connectin

Reading (All) Environment Variables in W95/NT

1998-12-14 Thread peter . pilgrim
I am getting some requests from NT users on an application that I wrote on a Java/Linux environment. I have a Java application that runs fine on Unix and I am trying to get to run perfectly on NT. I have a run time shell script that passes the entire environment to the JVM using a system prope