On Tue, Jun 23, 2009 at 12:40 PM, Garima Bathla<garima.bat...@gmail.com> wrote:
> I am trying to set classpath for a standalone application and I am not able
> to figure out what exactly I am doing wrong. Below is the classpath that is
> being generated in the MANIFEST.MF And this isn't valid classpath , when I
> run java -jar mystandaloneapplication.jar, it cannot find any classes.

Well I can't see anything wrong with your classpath.

From: http://java.sun.com/docs/books/tutorial/deployment/jar/basicsindex.html :
To run an application packaged as a JAR file (requires the Main-class
manifest header): java -jar app.jar

Your snippet does not add a Main-Class attribute to the manifest. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to