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 Java 8 in Action this week in the Java 8 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: 9043
    
  10
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling class file inside a jar
 
Similar Threads
Where is the implemetation for methods in HttpServletRequest & HttpServletResponse
Calling jar file from asp.net
problem in running jar file
Monitoring standalone java program
ClassNotFoundException