Build "static" jar

Hi,

I'd like to build a minimal sized "static" jar. That means a jar that wouldn't need any other jar in the classpath to be present, because it already includes all it needs.

Like building a static executable in C which include all dlls and only needed dlls.

It s definitely possible to do that manually, but is a tool or a standard way to do that ?

Thx a lot for any help.

[407 byte] By [erwanha] at [2007-9-28 13:23:29]
# 1
If you're planning on providing everything that a Java program needs to run, you need to provide and install a JRE. See here http://java.sun.com/j2se/1.4.1/README.html for the minimum allowable contents of a redistributed JRE.
ChuckBinga at 2007-7-12 9:21:58 > top of Java-index,Developer Tools,Java Compiler...