A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Nov 08, 2006
Nov 22, 2006 02:26:00
should a jar file include a main class name in it manifest file.
and whether jar file can execute without this
Joined: Feb 20, 2006
Nov 22, 2006 04:41:00
You do not need to supply the main class' name in the manifest, but then you will not be able to execute it, unless you supply the fully qualified name with the jar in your classpath.
Most of the packages are packaged in this way - i.e. try and execute javaee.jar ...
I agree. Here's the link:
subject: jar files
Error Loading Driver Class while using mysql's mm driver
mysqlDriver.jar inside a JAR file
using jstl with struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014