This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes call main-method inside jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

call main-method inside jar

vistatech vistatech
Greenhorn

Joined: Jan 22, 2004
Posts: 6
i've got a jar, and i want myclass to execute7run the main class of a jar package.
How can i do it?
thanks
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
vistatech vistatech,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.
Since this is a duplicate of a post in the intermediate forum, I'm closing this one and suggest the conversation continue over there.
 
wood burning stoves
 
subject: call main-method inside jar
 
Similar Threads
NoClassDefFoundError running a jar file from the command line
Ant - How to create a runnable jar of jars and classes
about jar file
to make a user friendly jar file
quickie... how to unzip a jar file via a java command line from the MSDos window?