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
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