Re: Is there a lightweight JDK
Stefan Ram wrote:
leegold <goldtech@worldpost.com> writes:
The JDK is almost 80 mb. I wondered if there's a lighter
version (that works) somewhere? Thanks
IIRC, older releases were smaller (JDK 1.1 or 1.2). See:
http://java.sun.com/products/archive/index.html
Also, there are other Java-Implementations than the JDK.
But if you want to develop Java code, what else would you use, and would it
really be smaller?
As for recommending obsolete versions (assuming you and the OP are talking
desktop or enterprise, not micro-edition), that is a very, very dangerous road
to travel.
The question isn't what distro is smaller, the question is what can you afford
to give up? The whole point of the JDK is to give you the tools to develop
whatever you can develop in Java. You might not need, say, the
java.util.concurrent package for a given project, but what distro can afford
to leave it out of the download? And what if you delete it then discover you
need it for a later project?
A huge part of Java's strength as a platform is its library, and another large
part of the JDK's strength comes from the tools included with it. SDKs always
are large for this reason, that the developer needs all kinds of tools and
widgets while constructing a product.
What's worse, you probably need a lot more than just the JDK. You might want
additional libraries, like JDBC drivers, JSF, various Apache projects
(connection pooling, commons-lang, ...).
In the world of SDKs, 80MB is not all that large.
--
Lew