File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes load a jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "load a jar file" Watch "load a jar file" New topic
Author

load a jar file

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 245


salut
hi

in a program i do this to read a jar file


the program is located in ERP folder

how to load the jar file from the location of the program... i don't want to put c:\\....

i would like also to be os independant...

is there a way to do that?
thanks
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Mark:

You can put the path in a properties file.

John.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load a jar file
 
Similar Threads
Server usage clause fails to display under Unix
Cannot run .jar file
images in jar file
Absolute/Relative path of jar file?
dynamically loading a class file from a jar file