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

windows 32bit dll was incorrectly compiled as 64bit #35

Open
romikk opened this issue Feb 25, 2015 · 3 comments
Open

windows 32bit dll was incorrectly compiled as 64bit #35

romikk opened this issue Feb 25, 2015 · 3 comments

Comments

@romikk
Copy link

romikk commented Feb 25, 2015

Latest javasysmon release has incorrectly compiled dll:

D:\APPS>"C:\Program Files\Java\jdk1.6.0_24\bin\java" -jar ./lib/javasysmon-0.3.5.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\romikk\Local Settings\Temp\2\javasysmo5686058043554074094.dll: Can't l
oad AMD 64-bit .dll on a IA 32-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at com.jezhumble.javasysmon.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:16)
at com.jezhumble.javasysmon.WindowsMonitor.(WindowsMonitor.java:11)
at com.jezhumble.javasysmon.JavaSysMon.(JavaSysMon.java:53)
Could not find the main class: com.jezhumble.javasysmon.JavaSysMon. Program will exit.

@goxr3plus
Copy link

I have exactly the same problem for windows 7 32 bit . The jar is compiled in Windows 10 64 bit and working perfect but on the Windows 7 32 bit , i am getting this error .

Have you found any work around?

@goxr3plus
Copy link

I created a fixed .jar version and uploaded it on this repository -> https://github.com/goxr3plus/javasysmon

@sco-tt
Copy link

sco-tt commented Jul 16, 2018

I know this has been reported elsewhere (and in the parent thread) but I got the same error on javasysmon-0.3.5.jar

Using javasysmon2 (author is @goxr3plus, who has commented above) fixes this issue on my project.

Thanks @goxr3plus!

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

3 participants