NetBeans can't access my library

java.lang.UnsatisfiedLinkError: no javatwain in java.library.path

This error I always got. I tried to mount javatwain.jar in the filesystem, I got the same problem.

I tried to add it to the bool classpath and classpath from tools > options. again the same problem

I tried to add the jar file to filesystem classpath also from tools > options. again the same problem.

I tried to copy the jar file into the same folder of my application. the same problem

I tried to use Help in netbeans, no thing can help.

I tried to got help previously in this form, no actual solution came.

I tried to mount the jar file, then restart netbeans, no thing happens

Now, after writing these lines, I will delete the javatwain.jar from my projects folder and try to mount it from a far location. I know it will not solve my problem, but I'll try.

One more thing is, when I run my application using the standard (... java app ....) it can access this library because it's included in the jre/lib/ext, but NB can't.

Now the question is, Why can't any one help me?

[1118 byte] By [tleis1a] at [2007-10-1 1:24:49]
# 1

> Now the question is, Why can't any one help me?

Mostly because this is a Java forum, not a NetBeans forum. Since the program runs from the command line, it's obviously a NB configuration or parameter problem, not a Java problem.

If you want maximum exposure for questions and problems about NB, you need to go to the NB website and post to their general mailing list (they also have some forums, but these are not high-volume.)

You might want to check my recent post to the other thread in this forum (by carodita) that you posted to, I added some information that may help you.

ChuckBinga at 2007-7-8 1:44:34 > top of Java-index,Administration Tools,Sun Connection...