Eclipse Plug in development installation question

M

maverick

Once i have my plug in for eclipse ready , how do i set the working
directory for the eclipse plug in
Basically I am doing some JNI stuff from my eclipse plug in and it
requires that I find a DLL in a different directory other than

C:\eclipse\

My plug in being under C:\eclipse\plugins\MyPlugin.jar



Is there a way in my plug in code , I can specify the working directory
to be something like

"C:\MyStoredDLL\"



where my DLL's are stored within C:\MyStoredDLL

I need to do this as my Java code is doing a System.Load("MyDLL").

Now MyDLL has to be found either in System32 directory or using the
system PATH variable

Basically i have a workaround for this where i add C:\MyStoredDLL to
the PATH environment variable , but this might be an installation
hassle

Is there a way my plugin ( JAR file ) can be self contained where I do
not have to worry about any dependencies ?


Please help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top