This content has been marked as final. Show 4 replies
The problem is still there.
I noticed that when I run my application in Java then everything works perfect only when I run it with javafx I get this error.
(The DLL gets loaded in a Java-Class)
java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre6\bin\Projekt2.dll: Unzulässiger Zugriff auf einen Speicherbereich
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
Any help ? How I can retrieve more Information about the problem ?
With javafx you have to manage redistribuable native code with jnlp.
put your DLL in a jar and declare it as <nativelib/> tag in the jnlp, it should be dezipped in your deployment cache and ready for linking (take a look at the java rutime cache, you'll see several dll from javafx rutime).
For testing put the DLL in your root folder (wich where you call javafx.exe)
I used to work, so it cannot be a deployment issue. Actually I checked which windows - updates have been installed recently since the state where everything was working.
It turned out that Acrobat Reader installed an update recently. I deinstalled Acrobat Reader and now it it working again.
I do not feel very comfortable, how can Acorbat Reader affect cause these troubles ?