File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "jar files" Watch "jar files" New topic
Author

jar files

RAHUL
Greenhorn

Joined: Nov 08, 2006
Posts: 7
should a jar file include a main class name in it manifest file.
and whether jar file can execute without this
Petrus Pelser
Ranch Hand

Joined: Feb 20, 2006
Posts: 132
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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: jar files
 
Similar Threads
mysqlDriver.jar inside a JAR file
ClassNotFoundException
Hibernate
using jstl with struts
Error Loading Driver Class while using mysql's mm driver