[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing a Java VM on Debian



Hello Dj,

Sunday, October 5, 2003, 1:13:52 PM, you wrote:
> I note when looking through the package lists that there quite a few GPL
> java environments available:

First of all: Neither Blackdown and IBM JDK 1.1 are GPL. Both
are 'sun derived' and under their license. Also, I'm fairly sure,
that the IBM package is a installer and that this thing is useless,
as the 1.1 Download isn't anymore on the servers. Also 1.1.8 is
*really* outdated.

If you want a recent 'sun derived' JDK, you probably want to use
mpkg-j2sdk (-> google or this ML) and a '*-bin' download from either
Blackdown or IBM or Sun.

> Besides speed and performance, what is the difference between the above
> virtual machines, and is one better to use than another in terms of
> stability and being able to run pretty much any java app you throw at it.

Tomcat is a pretty big app to throw at a JDK...

GIJ is a interpreter, so no 'JustInTime compiling'. GCJ can compile
your java code to native. Both aren't yet able to take *everything*,
what the 'world is throwing at it'.

Kaffe has a jitter, but also does not have all SUN API implemented.

I'm not sure how far sablevm is.

You probably want to search the net for some firsthand experiences
with tomcat and the above free java virtual machines.

Blackdown is a enchanced linux port of the sun VM. But the last
debian packages are a little bit outdated (there are newer *-bin
downloads). IBM does something similar with their 'IBM JDK'.

> I am also looking to install a JSP engine on the web server, either Resin or
> Tomcat depending on demand, and wish to know which would be the best VM to
> run with that also.

JSP is tricky, as Tomcat uses either jikes or the internal compiler of a
sun JDK to compile the JSPs into java code.

Another problem is the things your clients will throw in as webapps.
If you have the chance to test this beforehand then you can give the
above free VMs a try. If you are not sure or if you know that there
are ImageIO, NIO or AWT/Swing code in there, then you probably need a
sun derived JDK.

Tomcat will probably also need a JDK1.3 or above, so the IBM 1.1 is
out.

Jan



Reply to: