Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find libJNIRAPL.so file when I run the prgoram #9

Open
amitbatajoo opened this issue May 2, 2023 · 1 comment
Open

Unable to find libJNIRAPL.so file when I run the prgoram #9

amitbatajoo opened this issue May 2, 2023 · 1 comment

Comments

@amitbatajoo
Copy link

amitbatajoo commented May 2, 2023

run:
@aservet1 @rutvik2007
Hello, I compiled the Java program and try to run, but I am getting error message as below. How can I find libJNIRAPL.so file. please help me.

!! error loading library ! -- /native/libJNIRAPL.so
java.io.FileNotFoundException: File /native/libJNIRAPL.so was not found inside JAR.
at jRAPL.NativeUtils.loadLibraryFromJar(NativeUtils.java:105)
at jRAPL.NativeAccess.loadNativeLibrary(NativeAccess.java:52)
at jRAPL.NativeAccess.(NativeAccess.java:60)
at jRAPL.EnergyManager.activate(EnergyManager.java:21)
at jRAPL.EnergyMonitor.activate(EnergyMonitor.java:11)
at jRAPL.AsyncEnergyMonitor.activate(AsyncEnergyMonitor.java:22)
at jRAPL.AsyncEnergyMonitorJavaSide.activate(AsyncEnergyMonitorJavaSide.java:33)
at jyaguchiwebswingclient.JyaguchiWebSwingClient.main(JyaguchiWebSwingClient.java:60)
C:\Users\admin\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 2 seconds)

Thank you in advance.

@aservet1
Copy link
Owner

aservet1 commented May 4, 2023

Hi, what command did you use to build this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants