hi.. i'm new to all this so hopefully someone can help me out..
i'm trying to simply setup and retrieve an environment variable and i
get a linker error
i have included all the jar files that are necessary.. this is the error
it gives me
java.lang.UnsatisfiedLinkError: no
Howdy,
i'm trying to simply setup and retrieve an environment variable and i
Then what's all this JNI stuff ;)
Consider using the System.getProperty() approach, and launching java
with the environment variable as a system property. For example, say
you want to retrieve the value of the PATH
Well I wish it was that simple.. the problem is that i have some prewritten classes
which i have to be using (they are compiled already ) and i cannot change the source
code. the line that causes the error is the line that retrieves the environment
variable.. do you know what could be causing
also.. why do you believe that its a dll and not a jar error? thanks. --alex
Shapira, Yoav wrote:
Howdy,
i'm trying to simply setup and retrieve an environment variable and i
Then what's all this JNI stuff ;)
Consider using the System.getProperty() approach, and launching java
with the
Howdy,
also.. why do you believe that its a dll and not a jar error? thanks. --alex
Because System.loadLibrary() is not a call for jars or classes. It's for JNI
resources, which on windows are DLLs 99% of the time. As I said previously,
there's very little chance of help on this topic on this