Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

load a jar file

 
mark smith
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 600
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark:

You can put the path in a properties file.

John.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic