Re: Java for Linux

Tomasz Rola (
Fri, 1 Feb 2002 10:02:39 +0100 (CET)

Hash: SHA1

On Fri, 1 Feb 2002, Anish Srivastava wrote:

> Can anyone guide me in choosing the appropriate port of Java for Linux
> 2.4.17 and glibc-2.2.2-10
> Which is the best of the three?
> Blackdown Java
> Sun Java
> I have heard that Blackdown supports native threads...while IBM and SUN do
> not!!
> Any kind of help will be greatly appreciated.....

I had some headaches with native threads in the past but now it seems to
be ok. The problem was with some nontrivial programs, like accessing
database and showing some dynamic info about this process at the same
time (using awt). Worked very good with green threads (not native). So
anything you try, pay attention to version numbers. I think one can tell
the difference between native and green when running on multiple cpus. It
doesn't matter whether one uses threads in the application, since java
runtime starts few threads of its own (garbage collector, display refresh
etc). So overall you should feel jvm with native threads runs faster on
multiple cpus while there shouldn't be much difference on a sigle cpu. I
am not sure how fast it can be on multiple cpus because I have never tried
it. There are some issues like thread synchronisation, that can slow it
down however. So everything depends on what java program you want to run
(and how you design/write it).

As a side note, I am using java on Linux for more than 4 years now and it
is very good and stable, at least the Blackdown port. I have less
experience with IBM and Sun's but you should be ok with any of them. There
is also kaffe vm available at It implements older apis but
there is source code for it which may be helpful sometimes. And, recently,
I have heard of wonca vm (, source available too) but
haven't tried it yet. If you are interested in something different, check
waba vm at (non standard, very
small, opensource).

> If this mailing list id not the right place for the above question....can
> anyone guide me to an appropriate mailing list

I suppose this is not the right place. The only list I know about is
debian-java. Have a look at,
there should be a link to archives somewhere too.

Hope this helps.


- --
** A C programmer asked whether computer had Buddha's nature. **
** As the answer, master did "rm -rif" on the programmer's home **
** directory. And then the C programmer became enlightened... **
** **
** Tomasz Rola **

Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at