This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
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


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
 
Don't get me started about those stupid light bulbs.
 
subject: Calling class file inside a jar