aspose file tools
The moose likes Java in General and the fly likes Calling class file inside a jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calling class file inside a jar" Watch "Calling class file inside a jar" New topic
Author

Calling class file inside a jar

Sriram Krish
Greenhorn

Joined: Aug 08, 2005
Posts: 1
Hi

I am writing a batch file and can anyone help in calling a class file that is bundled within a jar.

Thanks
Sriram
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9055
    
  12
As long as the jar is in your classpath, you call the class the same way you call any other class.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
jQuery in Action, 2nd edition
 
subject: Calling class file inside a jar