public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Java for Linux
@ 2002-02-01  6:24 Anish Srivastava
  2002-02-01  9:02 ` Tomasz Rola
  2002-02-01 16:30 ` Tommy Johansson
  0 siblings, 2 replies; 3+ messages in thread
From: Anish Srivastava @ 2002-02-01  6:24 UTC (permalink / raw)
  To: linux-kernel

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
IBM 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.....

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

Thanks,
Anish





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Java for Linux
  2002-02-01  6:24 Java for Linux Anish Srivastava
@ 2002-02-01  9:02 ` Tomasz Rola
  2002-02-01 16:30 ` Tommy Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Tomasz Rola @ 2002-02-01  9:02 UTC (permalink / raw)
  To: Anish Srivastava; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
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
> IBM 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 www.kaffe.org. It implements older apis but
there is source code for it which may be helpful sometimes. And, recently,
I have heard of wonca vm (wonca.acunia.com, source available too) but
haven't tried it yet. If you are interested in something different, check
waba vm at http://sourceforge.net/projects/waba (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 http://www.debian.org/MailingLists/subscribe,
there should be a link to archives somewhere too.

Hope this helps.

bye
T.

- --
** 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          mailto:tomasz_rola@bigfoot.com             **

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

iQA/AwUBPFpZtRETUsyL9vbiEQKPpACdGfWa1N3vhHtEzJvEl5tj4gJ3HgUAoKBd
IEDOH+GmZSe9AiF5oy4z3UDg
=YROU
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Java for Linux
  2002-02-01  6:24 Java for Linux Anish Srivastava
  2002-02-01  9:02 ` Tomasz Rola
@ 2002-02-01 16:30 ` Tommy Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Tommy Johansson @ 2002-02-01 16:30 UTC (permalink / raw)
  To: Anish Srivastava, linux-kernel


> 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
> IBM JAVA
> Sun Java

I have done quite a few tests with all major java vm's and IBM is always the 
fastest. The only problem is that IBM is a bit behind in vm versions. SUN is 
1.3.1 and 1.4 is in RC status, while IBM is still at 1.3.

> I have heard that Blackdown supports native threads...while IBM and SUN do
> not!!

No! all, at least from 1.3 and onwards, support native threads.

/Tommy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-01 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-01  6:24 Java for Linux Anish Srivastava
2002-02-01  9:02 ` Tomasz Rola
2002-02-01 16:30 ` Tommy Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox