IllegalMonitorStateException when running javac?

1999-11-09 Thread Jari . P . Kinnunen
Hi! I have suddenly started to get following exception when running javac. Does anyone know a reason for this and how I can fix this. It seems that the compilation goes anyway fine. I am using Linux_JDK_1.2_pre-release-v2 java.lang.IllegalMonitorStateException: current thread not owner

Re: Garbage collection in jdk1.2

1999-11-09 Thread Daniel P. Zepeda
I actually looked at that page. I saw known bugs, and skipped fix bugs thinking it wouldn't apply. Also, that green color makes the entries very hard to read on my LCD screen. Anway, that did work around the problem. It behaves as expected now. Thus spake Marc Slemko on Tue, 09 Nov 1999: > O

Visibroker for Java 3.4

1999-11-09 Thread Luis Claudio Santos
Hello,       Can anybody HELP ME, PLEASE :-( ?       I'm using Linux RH 5.2 and JDK1.1.7.        I download the Visibroker for Java 3.4 (linux version) from  http://www.inprise.com/downloads/.     After I followed all the instructions for instalation I tryed some commands and ...:   1)

Re: Garbage collection in jdk1.2

1999-11-09 Thread Marc Slemko
On Tue, 9 Nov 1999, Daniel P. Zepeda wrote: [...] > Now in linux using the jdk1.2-pre_v2, the programs memory requirement > grows without bound until it crashes my system. Sun's jdk doesn't do > this. It settles in with about 10 megs in memory and 30 megs in swap and > wil stay there all day. Th

Garbage collection in jdk1.2

1999-11-09 Thread Daniel P. Zepeda
Hi, So I have this simple application that uses a JPanel as a canvas. I use arrays of Point2D.Double and Line2D.Double objects to to keep track of where to draw lines/points. This canvas can have around 1000 point objects and about 300-400 line objects associated with it. After I use this

Re: Speed of IBM's Linux JDK

1999-11-09 Thread Dimitrios Vyzovitis
Peter Schuller wrote: > Hello! > > Quick question: the IBM JDK has shown *very* impressive benchmark results. > Now, in light of the recently postponed release date for potato (Debian), I'm > wondering if this is just a benchmark thing, or if it really "feels" faster > (such as scrolling in Swing

Re: installation??

1999-11-09 Thread Juergen Kreileder
> Raj Patel writes: Raj> I just posted the question regarding jdk1.2pre-v2. I think Raj> it's more of a installation problem. After installing Raj> jdk1.2pre-v2 and setting PATH to bin directory when i tried Raj> javac command i got following error, Raj> *** panic: GC:

installation??

1999-11-09 Thread Raj Patel
Hi, I just posted the question regarding jdk1.2pre-v2. I think it's more of a installation problem. After installing jdk1.2pre-v2 and setting PATH to bin directory when i tried javac command i got following error, black:rpatel% javac *** panic: GC: getStickySystemClass failed: java/lan

Re: Speed of IBM's Linux JDK

1999-11-09 Thread Dennis Keller
It depends on what the Swing app will be doing. If there isn't much user interaction, you won't see much of a difference. But if there is, you'll see a huge difference. For instance, I use an editor called "JEdit" on my linux box. This involves a lot of scrolling and graphical operations. I find t

Re: Speed of IBM's Linux JDK

1999-11-09 Thread Daniel P. Zepeda
Well, I did a very unscientific test of my own. I went through the trouble of installing jdk118 for linux + Swing. Then I tried to run the SwingSet examples. I run a Mandrake 6.0 machine, so it hung. At someone's suggestion I replaced the libpthreads library with one from a RedHat 6.0 machine. jd

jdk version

1999-11-09 Thread Raj Patel
Hi, I am having few troubles using jdk1.2pre-v2(glib2.0) on Redhat Linux 6.0. I used jdk1.1.7 with swing module (Redhat Linus 5.2) for my swing application which is using JNI. Now after installing jdk1.2pre-v2(glib2.0) application complains about swing classes during compilation as, Fs

Re: Swing with ibm jdk 1.1.8

1999-11-09 Thread Daniel P. Zepeda
I think you have to set JAVA_HOME to /path/to/jdk118 Thus spake Pere Serra on Tue, 09 Nov 1999: > I've downloaded ibm jdk 1.1.8 and it works with text mode programs, but when I > try to run a swing application it doesn't work. I put the file rt.jar in the > classpath then java says Class not foun

Re: cut & paste

1999-11-09 Thread Nathan Meyers
X11 has a couple of different cut/paste-type operations: 1) The clipboard, which is accessed from cut, copy, and paste buttons in various X applications. Java supports this. 2) The primary selection, where you "copy" by dragging the mouse over text and typically "paste" by clicking the middle mo

Re: Speed of IBM's Linux JDK

1999-11-09 Thread Jesper Nordenberg
> Quick question: the IBM JDK has shown *very* impressive benchmark results. > Now, in light of the recently postponed release date for potato (Debian), I'm > wondering if this is just a benchmark thing, or if it really "feels" faster > (such as scrolling in Swing for exmample)? > > I can't decide

Re: Swing with ibm jdk 1.1.8

1999-11-09 Thread Nathan Meyers
Pere Serra wrote: > > I've downloaded ibm jdk 1.1.8 and it works with text mode programs, but when I > try to run a swing application it doesn't work. I put the file rt.jar in the > classpath then java says Class not found: java.lang.System. > > Does anyone know what am I doing wrong ? You're t

Re: Speed of IBM's Linux JDK

1999-11-09 Thread Peter Graves
It does feel faster, once it gets going, but it seems like the first time a given piece of code is run, there's a noticeable delay (presumably because the JIT compiler is doing its thing). This occurs, for example, the first time you bring up a dialog box in a Swing app. It also makes applicatio

Re: Thread in the Linux's JVM

1999-11-09 Thread Brett Smith
The JNI/C code DOES execute in the same thread as the Java thread that invokes it. You must consider this in your design. Also, you can't have a "non-Java" thread perform a call-back to a Java object. Brett Smith Subject: Re: Thread in the Linux's JVM Date: Tue, 09 Nov 199

Re: Swing with ibm jdk 1.1.8

1999-11-09 Thread Peter Graves
Try putting swingall.jar in your CLASSPATH, rather than rt.jar. Works for me. -Peter Pere Serra wrote: > > I've downloaded ibm jdk 1.1.8 and it works with text mode programs, but when I > try to run a swing application it doesn't work. I put the file rt.jar in the > classpath then java says Cl

Speed of IBM's Linux JDK

1999-11-09 Thread Peter Schuller
Hello! Quick question: the IBM JDK has shown *very* impressive benchmark results. Now, in light of the recently postponed release date for potato (Debian), I'm wondering if this is just a benchmark thing, or if it really "feels" faster (such as scrolling in Swing for exmample)? I can't decide wh

Re: Thread in the Linux's JVM

1999-11-09 Thread Nathan Meyers
Jacob Nikom wrote: > > So, you think that JNI does not represent any specific issues in > Java multithreading? Does the JNI/C code executes in the same thread > as the Java method which invoked it? JNI code is just the native "back end" of certain Java methods. It runs in whatever thread the cal

Re: Thread in the Linux's JVM

1999-11-09 Thread Jacob Nikom
So, you think that JNI does not represent any specific issues in Java multithreading? Does the JNI/C code executes in the same thread as the Java method which invoked it? Also, what about event-dispatching thread? In the documentation about InvokeLater() method there is no any mention that you h

Swing with ibm jdk 1.1.8

1999-11-09 Thread Pere Serra
I've downloaded ibm jdk 1.1.8 and it works with text mode programs, but when I try to run a swing application it doesn't work. I put the file rt.jar in the classpath then java says Class not found: java.lang.System. Does anyone know what am I doing wrong ? Thanks a lot -- --

cut & paste

1999-11-09 Thread Edwin Park
Hi, I'm trying to cut & paste string selections in Java on Linux, and am running into some problems. Cut & paste works fine between Java applications that pass DataFlavor.stringFlavor types, but when I try to cut & paste between non-Java applications and Java, the Transferrable is of type sun.aw

Re: Thread in the Linux's JVM

1999-11-09 Thread Nathan Meyers
> Evandro Luquini wrote: > > Hi, > If the Linux JVM works with green and natives threads, How will I > specify what model I want ? Either set an environment variable: export THREADS_FLAG=green or export THREADS_FLAG=native or specify on the java launch command line: