Packaging Java codes into a single JAR

posted on 09:11 AM on Thursday 27 June 2013

On occasions, I have to write Java codes mainly for performance reasons and I generally use NetBeans for this. NetBeans is all nice and great but it does not package the codes together with all the dependencies into a single JAR. Enter One-JAR which does just that and it is pretty easy to use.

It is a lot easier to get people to run my codes if they are packaged nicely in a single JAR rather than dealing with placing the dependencies in a sub directory or class path.