Any way to load classpath jars from external file ? [message #1742693] |
Tue, 06 September 2016 16:34 |
Abishek Sampath Messages: 1 Registered: September 2016 |
Junior Member |
|
|
I have an eclipse RCP application which makes use of some 3rd party jars. I cannot bundle those jars in the application because of some licensing issues.
So what i have done is create a Environment Variable "GLOBAL_JARS" and use an 'external:' reference to the environment variable in the classpath. This is so that the user can place the jars at the path pointed by the environment variable and hence the application can access them at runtime.
Now, the issue is, the client whom i am preparing the application for, wont have admin rights and hence cannot create a system environment variable, and they dont want to be creating session environment variable everytime.
So, now what i am looking for is, is there anyway that the user can mention the list of jar file paths in an external file (say an .ini file) which can be accessed by the application loader during runtime, and load all the jars in classpath ? or is there any other alternative way for the small issue
Thanks a lot,
Abishek
|
|
|
Powered by
FUDForum. Page generated in 5.05455 seconds