JComponent

1999-10-18 Thread ALPESH KOTHARI
Hello Everybody, I have written a small piece of code for JComponent. But it doesn't paint the JComponent to the frame. When I set the backgnd and foregnd colors, they are not visible. Can you please run the code and point me what I am missing in it? THnaking You, Alpesh = KOTHARI ALPESH

Re: JNI link to disk space

1999-10-18 Thread Sebastian-Anton Ponovescu
Hi Peter! Yes! There are! First to find out the partition do: fdisk -l. In fact fdisk is one of the few mechanisms you can use to manipulate partitions under linux. Second for disk size and free space do: df. Read the man for each of them as they provide lots of usefull information. Take Care!

[ANNOUNCE] LaTTe Java Virtual Machine

1999-10-18 Thread David Li
I said this on comp.compilers and think it may interest some in this news group. According to the site, the performance of this VM is comparable to Sun's hotspot. It's released under a BSDish license. Anyone with more Java VM programming experience cares to take a look at it and see how hard woul

Re: Linux JVMs

1999-10-18 Thread Chris Abbey
At 22:09 9/18/99 -0400, Michael Emmel wrote: >Also it produces the slowest bytecode on the planet. Great for development. [it == jikes] just because the bytecode is simple doesn't always mean it's bad/slow... I'm starting to see JITTERs good enough to turn straight forward bytecode such as that p

Re: Why is Linux thread locking so slow?

1999-10-18 Thread Godmar Back
> > My earlier question stands: why does boehm-gc use spinlocks and not > pthread mutexes, or condition variables? Was it a deliberate decision, or > ignorance on the part of the Linux porters? That choice suprised me a > little, since garbage collection can run for long durations and cause > e

Re: Linux JVMs

1999-10-18 Thread Michael Emmel
som ranting near the end but do not compile shipping code with jikes. Also do not make IBM slow jikes down for shipping code : ) Michael Sinz wrote: > On Tue, 19 Oct 1999 00:03:18 +0200, Ian Corner wrote: > > >You mentioned in a previous email the ibmjdk, is that Jikes? If not what is > >Jik

Re: java_g

1999-10-18 Thread Brandon Anderson
Well, I kinda gathered from your previously emails that we were kinda getting out of your area of expertise, but you've still been quite helpful. As I have searched throughout the jdbc drivers (they are not in a jar), and they don't seem to have any libraries with them, I'll assume they don't. I'

Re: Linux JVMs

1999-10-18 Thread Nathan Meyers
Ian Corner wrote: > > You mentioned in a previous email the ibmjdk, is that Jikes? If not what is > Jikes as I thought that was the IBM JVM. Do you happen to know what Java > version Jikes is comparable to? Jikes is the name of two separate IBM projects: a compiler (a very active project) and a

Re: Linux JVMs

1999-10-18 Thread Chris Abbey
At 00:03 10/19/99 +0200, Ian Corner wrote: >You mentioned in a previous email the ibmjdk, is that Jikes? If not what is nope >Jikes as I thought that was the IBM JVM. Do you happen to know what Java Jikes is a Java compiler, that is it takes in source code in the Java Language and emits Bytecod

Re: java_g

1999-10-18 Thread Chris Abbey
my understanding of the Sybase JDBC drivers is that they, like Oracle, include native code. Thus somewhere out there on your dasd around about the same place the jdbc drivers are (probably in a jar) there should be a lib?.so. You may only be using classes, but they could have native methods in

Re: Linux JVMs

1999-10-18 Thread Godmar Back
> > You mentioned in a previous email the ibmjdk, is that Jikes? If not what is > Jikes as I thought that was the IBM JVM. Do you happen to know what Java > version Jikes is comparable to? > No, IBM's JVM is IBM's port of Sun's JVM. It's a JVM. jikes is a java source to java bytecode compiler

Re: Linux JVMs

1999-10-18 Thread Michael Sinz
On Tue, 19 Oct 1999 00:03:18 +0200, Ian Corner wrote: >You mentioned in a previous email the ibmjdk, is that Jikes? If not what is >Jikes as I thought that was the IBM JVM. Do you happen to know what Java >version Jikes is comparable to? Jikes is the IBM Research Java Compiler. It is *very* fas

InfoWorld on IBM, Sun Java/Linux (from Slashdot)

1999-10-18 Thread Nelson Minar
New story at http://www.infoworld.com/cgi-bin/displayStory.pl?991018.hnjvm.htm At the Java Developers Conference in San Jose, Calif., IBM will announce the free general availability of a Java Software Developer's Kit 1.18-compliant Java virtual machine (JVM) for the Linux operating syst

Re: Why is Linux thread locking so slow?

1999-10-18 Thread Godmar Back
> > > > So, I believe that kernel support is indeed needed. > > Don't do in the kernel what can adequately be performed in user space. > Let me add my own data here... I modified Matt's program to get better > timings, and compared mutexes to a spinlock implementation for ix86: > [...] > For s

Linux JVMs

1999-10-18 Thread Ian Corner
You mentioned in a previous email the ibmjdk, is that Jikes? If not what is Jikes as I thought that was the IBM JVM. Do you happen to know what Java version Jikes is comparable to? Where is the best place to get Java RPMs under one roof, rather than going all over the Net to find them? Regards I

Re: java_g

1999-10-18 Thread Brandon Anderson
I'm sorry, but I'm obviously missing something. What *.so and *_g.so. As far as I know the only libraries that I'm using are the ones included with the JDK and Debug JDK Versions. I'm using class files for the Sybase stuff. And my java files are not being compiled into a library. Maybe I'm mi

Re: Why is Linux thread locking so slow?

1999-10-18 Thread Godmar Back
> > > >Clearly, in the uniprocessor case, linux-threads is handicapped by > >having to ask the kernel to switch between threads, because of the > >1-to-1 implementation model. I fully agree with that. > > > >However, I think the case we're looking at here may be slightly different. > >In our case

Re: Jar file Access to images

1999-10-18 Thread schen
On Mon, 18 Oct 1999, Robert Simmons wrote: > I have an application that I intend to package as a jar, with its images in > the Jar. How do I construct a URL object to load those images into IconImage > instances from the LOCAL jar file (ie, the file the program is running in.) > Further, is there

Re: JIT For linux??

1999-10-18 Thread Paolo Ciccone
On Mon, Oct 18, 1999 at 03:41:05AM -0600, Robert Simmons wrote: > Greetings, > > Is there a functional version of the JIT that works with the 1.2 Jdk on > linux ? I would love to install it before things get messy in my app. Ive > build most of the structure and now Im adding content like crazy a

Re: Why is Linux thread locking so slow?

1999-10-18 Thread Michael Sinz
On Mon, 18 Oct 1999 10:18:49 -0600 (MDT), Godmar Back wrote: >Thanks for your answer, Xavier. > >Let me reply to some points below and ask some more questions. >I hope this discussion remains interesting and relevant to the >other subscribers on this list. > >> >> > > I have a simple Java progra

Re: Jar file Access to images

1999-10-18 Thread Ted Neward
Rob-- Check out URLClassLoader, and email me privately if you don't get it from there. URLClassLoader allows you load classes, resources and other "stuff" from .jar, .zip, or subdirectory (depending on the URL(s) you pass in, of course) without modification to your client code. Does that solve t

Re: JNI link to disk space

1999-10-18 Thread Nathan Meyers
Peter Pilgrim wrote: > > I am interesting in getting the disk space and partition > in a Java program by using JNI. What is the std UNIX API > call to do this? I have tried grepping the man pages > and got the source to kdf program but it didn't help > because it was executing `/usr/bin/df -k -T'

Re: Why is Linux thread locking so slow?

1999-10-18 Thread Godmar Back
Thanks for your answer, Xavier. Let me reply to some points below and ask some more questions. I hope this discussion remains interesting and relevant to the other subscribers on this list. > > > > I have a simple Java program where 2 threads spin in a tight loop each > > > grabbing the same

Re: java-linux-digest Digest V99 #54

1999-10-18 Thread Patrick LAM
> I wonder how much speedup can be achieved by using tools like > Jopt ( http://www-i2.informatik.rwth-aachen.de/~markusj ). Are there any > benchmarks yet? If you keep an eye on the Sable website, by next week there will be a technical report describing how much speedup you can obtain with inlin

Possible Bug in natives thread: some thread that are waiting, never wake up with notify()

1999-10-18 Thread Edouard Duchesnay
Hi, Possible Bug in natives threads, some thread that are waiting, never wake up with notify () 0. run 100 threads each of them has a lock 1.They start, 2.they are locking their busyFlag 3.waiting for each other to a 4. continue and unlock their busyFlag 5. for All the other threads

Re: JIT For linux??

1999-10-18 Thread Timothy Reaves
Borland has released one. Robert Simmons wrote: > Greetings, > > Is there a functional version of the JIT that works with the 1.2 Jdk on > linux ? I would love to install it before things get messy in my app. Ive > build most of the structure and now Im adding content like crazy and I could > ea

JNI link to disk space

1999-10-18 Thread Peter Pilgrim
I am interesting in getting the disk space and partition in a Java program by using JNI. What is the std UNIX API call to do this? I have tried grepping the man pages and got the source to kdf program but it didn't help because it was executing `/usr/bin/df -k -T' and parsing the output. Is there

Re: Several VM ?

1999-10-18 Thread John Rousseau
On Monday Oct 18, 1999, Pierre Heroux wrote: > I've downloaded JDK_1.2_pre-release-v2. > Each time I run "java blah_blah.class" or invoke the JVM in a C++ > source, it looks as if the program is run several time. It appears 8 > times in the process list ("ps"). > > Is there something wrong ? N

Re: Several VM ?

1999-10-18 Thread Michael Sinz
On Mon, 18 Oct 1999 11:40:09 -0400, Pierre Heroux wrote: >Hi, > >I've downloaded JDK_1.2_pre-release-v2. >Each time I run "java blah_blah.class" or invoke the JVM in a C++ >source, it looks as if the program is run several time. It appears 8 >times in the process list ("ps"). > >Is there somethin

Re: Several VM ?

1999-10-18 Thread Artur Biesiadowski
On Mon, 18 Oct 1999, Pierre Heroux wrote: > I've downloaded JDK_1.2_pre-release-v2. > Each time I run "java blah_blah.class" or invoke the JVM in a C++ > source, it looks as if the program is run several time. It appears 8 > times in the process list ("ps"). > > Is there something wrong ? Every

Re: reminder - this list is for Java & Linux

1999-10-18 Thread Antonio Moretti
On Fri, 15 Oct 1999, Jacob Nikom wrote: > Date: Fri, 15 Oct 1999 09:58:03 -0400 > From: Jacob Nikom <[EMAIL PROTECTED]> > To: Nicholas Wright <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: reminder - this list is for Java & Linux > > Hi, > > I don't see too much h

Re: Can A Frame have a KeyListener?

1999-10-18 Thread Wayne
Robert Simmons wrote: > Subclass it and declare it implements KeyListener. > I tried this, but it did not work. > > -- finito > -- rob > > - Original Message - > From: Wayne <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, October 16, 1999 3:50 AM > Subject: Can A Frame h

libjvm.so error

1999-10-18 Thread Erdal Mutlu
Hi! I'm new in Linux and Java. I have just dowloaded jdk1.2pre-v2.tar.bz2 from blackdown. But when I entered the command java got an error : /usr/lib/java/bin/i386/native_threads/java error in loading shared libraries /usr/lib/libjvm.so undefined symbol : __bzero Thanks! Erdal MUTLU --

Re: Runtime.traceMethodCalls()

1999-10-18 Thread Juergen Kreileder
> Martin Schröder writes: Martin> On 1999-10-16 01:43:10 -0500, Chris Abbey wrote: >> you're using java_g right? try running a hello world class with >> the -tm command line switch to test the binaries: >> >> java_g -tm helloWorld Martin> There seems to be no java_g

Several VM ?

1999-10-18 Thread Pierre Heroux
Hi, I've downloaded JDK_1.2_pre-release-v2. Each time I run "java blah_blah.class" or invoke the JVM in a C++ source, it looks as if the program is run several time. It appears 8 times in the process list ("ps"). Is there something wrong ? --

Jar file Access to images

1999-10-18 Thread Robert Simmons
Greetings, I cross posted this to about 3 newsgroups and havent gotten a reply yet so I figured I would post here because i need it answered. So dont flame me for posting a general question. I have an application that I intend to package as a jar, with its images in the Jar. How do I construct a

JIT For linux??

1999-10-18 Thread Robert Simmons
Greetings, Is there a functional version of the JIT that works with the 1.2 Jdk on linux ? I would love to install it before things get messy in my app. Ive build most of the structure and now Im adding content like crazy and I could easily see this think working on 20 panes in a tab pane all at

Re: Benchmark results for Linux JVMs (formatted for 70 columns)

1999-10-18 Thread Andreas Rueckert
Hi! On Sun, 17 Oct 1999 Godmar Back wrote: >To add another reason why nobody should draw conclusions quite yet: >Kaffe's benchmarks were obtained with a version of its class libraries >that was compiled with jikes, which is often considered to create >the slowest bytecode among the differe

Re: A Global instance ?

1999-10-18 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > > On Fri, 15 Oct 1999, Peter Pilgrim wrote: > > > In fact code is wrong, at least in the conditionals statements. > > Sorry about that > > > > public static NetworkPrinter getInstance() > >{ > > // Point *A* > >if ( thePrin

Re: Runtime.traceMethodCalls()

1999-10-18 Thread Martin Schröder
On 1999-10-16 01:43:10 -0500, Chris Abbey wrote: > you're using java_g right? try running a hello world class with the -tm > command line switch to test the binaries: > > java_g -tm helloWorld There seems to be no java_g in the jdk1.2 :-( Best regards Martin -- Martin Schr