Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

Exception in thread "main" java.lang.UnsatisfiedLinkError:dll: The operating system cannot run %1

I am getting the error while loading the library. Here is my code. package ibm; import java.util.Properties; import com.ibm.eNetwork.ECL.ECLErr; import com.ibm.eNetwork.ECL.ECLSession; public class ...
Selvaraj Narayanasamy's user avatar
-1 votes
0 answers
87 views

Prevention of DLL hijacking in JRE and system files

I have a Java program (v1.8) which needs a sample.dll file to be loaded. Let's say, this file is bundled in JRE folder. As normal occasion this DLL is loaded from the JRE folder, but lets assume the ...
Diliban B's user avatar
0 votes
0 answers
28 views

Error with topaz.SigUsb java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.8.0_201\jre\bin\SigUsb.dll: Can't find dependent libraries

I am developing a Java application that uses SigUsb.dll for interfacing with a digital signature device. However, I am encountering a java.lang.UnsatisfiedLinkError stating that dependent libraries ...
Federico Caimi's user avatar
-1 votes
1 answer
77 views

How to fix missing javaaccessbridge.dll dependency, when starting a javafx application?

We are facing an error at a client, who runs our application on (almost equal configured) terminal servers. On several instances our application works as expected, on the rest in throws the following ...
crusam's user avatar
  • 6,158
0 votes
0 answers
61 views

Restricting DLL search injection or hijacking within JRE

Hackers are able to place malicious dll(named it wsock32.dll) in jre/bin folder of desktop application. Invoking any script(sh/bat) in application executes the dll. There are multiple ways to restrict ...
satyam mishra's user avatar
0 votes
0 answers
26 views

Error: Could not find or load main class Djava.library.path=C:\Windows\System32\jnetpcap.dll Caused by: java.lang.ClassNotFoundException:

Error: Could not find or load main class Djava.library.path=C:\Windows\System32\jnetpcap.dll Caused by: java.lang.ClassNotFoundException: Djava.library.path=C:\Windows\System32\jnetpcap.dll I did : &...
blabla rla's user avatar
0 votes
0 answers
86 views

Exception in thread "main" java.lang.UnsatisfiedLinkError: no onnxruntime4j_jni in java.library.path: Android Studio ONNX ERROR

I am attempting to load an onnx model into android studio. I have downloaded everything and followed the website, but I cannot run the load method and causes BUILD ERROR. Exception in thread "...
user24034379's user avatar
1 vote
1 answer
135 views

How to read and verify digital signature for EXE and DLL in java

I want to validate the EXEs and DLLs before invoking in java. I searched on internet, but i didnt find any proper solution. My requirement is, to validate any signed EXE or DLL by extracting a digital ...
Naveen Rathnam's user avatar
0 votes
0 answers
22 views

JNR-FFI - Callback Pointer crash

I'm using the Win 32 library. I'm trying to call a callback with a pointer. But when called, the function does not complete, but causes an error. Example of DLL initialization: Csclink csc = ...
ordinal's user avatar
0 votes
0 answers
19 views

how to receive int array by pass a int pointer from java using JNA?

I'm currently working on a project which requires developing a Java application to access a native DLL (in C). I have chosen JNA for the bridging job and I am facing problems passing correct int ...
EasonZhang's user avatar
0 votes
2 answers
117 views

JPackage/OpenJDK - Can't Deploy App With JNI Dependencies

I'm a new OpenJDK user previously using Oracle's JDKs and have only just now been able to migrate a lot of our apps past Java 8. I'm experiencing trouble with deploying standalone java applications ...
Jake Henry's user avatar
0 votes
0 answers
31 views

How to do DllInject in Java and jna

I would like to do DllInject using Java Jna.I know I'm new to Jna and C++, but I can't seem to get the code to mesh with the inject part.I would like to know if you can help me. Things were going well ...
halu86x's user avatar
1 vote
0 answers
35 views

how to package .dll file

I have some code files need to make a dll file. it is used by java loadlibrary(). how do I do? g++ -m64 -c -O3 -I "C:\Program Files\Java\jdk-10.0.2\include" -I "C:\Program Files\Java\...
lance's user avatar
  • 11
0 votes
0 answers
38 views

DLL nit in Java library path for distributed Jar File

I Have a program that I created in Netbeans that uses jacob-1.18.jar to open a HTML Outlook email. jacob-1.18.jar requires a dll to work (jacob-1.18-x64.dll). This DLL is stored in project folder and ...
James Cafferkey's user avatar
0 votes
0 answers
47 views

Build jar with dll in pom or external dll file - unable to solve

I'm fighting with this issue for a few days already, so I'm really in need of your help, girls and boys. I did a simple stuff in Java, that works till I'm using my IDE (IntelliJ) - I can run my ...
Nevras's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
73