[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] run configuration and dlls
|
Hello,
I have imported a java source file (and its .class file) into the folders
src and runtime of my project. It is actually a jni class for a dll which is
also present in the runtime folder.
I know that when I run the .class from the c:\ prompt, it can call the dll
provided the prompt is the full path of the runtime folder - it won't work
if I run from somewhere else, even if the runtime folder is in the path
variable. I don't know why, but there it is - I'll deal with the
implications of that some other time.
When I try to launch the same thing from Eclipse, I believe I have to deal
with this issue.
Running java apps in Eclipse seems to be set up, like other ides, around the
sources (you don't even see the runtime .class files in the default Java
perspective, although you do in Resource). When configuring a run I'm only
offered 'main types' which are found in the src folder. So I'm not surprised
when it doesn't work - it seems I'm obliged to run "from" the src folder
and, as I've said, this causes a problem for the dll.
How can I get round this?
Help appreciated in advance
Ian