Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

call main-method inside jar

 
vistatech vistatech
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
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!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
    Bookmark Topic Watch Topic
  • New Topic