Comments (7)
Have you uploaded the dll anywhere? I would like to upgrade to 0.3.5 but really need it to work in an x86 environment.
from javasysmon.
Nope, but if you tell me your favourite platform for sharing this .dll i will do so?
from javasysmon.
Hi starguy,
can you upload the dll ? Thanks a lot
from javasysmon.
I would suggest you create a fork and replace the dll there. Then everyone can get a copy and Jez can pull it into the main repository too if he wants to.
from javasysmon.
Thx for the hint with the fork guys! nice feature. forked + pull request created for faster access:
https://github.com/starguy/javasysmon.git
the compiled javasysmon jar could be find under dis/javasysmon-0.3.6.jar
Last question, whats the correct procedure: to leave this issue open till Jez took a look at the pull request, or closing it immediately?
from javasysmon.
@starguy
Still no joy with 32bit os:
D:\APPS>"C:\Program Files\Java\jdk1.6.0_24\bin\java" -jar ./lib/javasysmon-0.3.6.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\romikk\Local Settings\Temp\2\javasysmo1026278514061678309.dll: The specified procedure could not be found
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:21)
at com.jezhumble.javasysmon.JavaSysMon.(JavaSysMon.java:53)
Could not find the main class: com.jezhumble.javasysmon.JavaSysMon. Program will
exit.
from javasysmon.
Line 10 of javasysmon.c needs to read #define _WIN32_WINNT 0x0501 to compile the library for running on an x86 machine running Windows Vista or earlier. Without this, the compiled DLL will look for K32EnumProcesses (amongst other things) which is only present in Windows 7 and above.
Even better than changing line 10 is to remove it completely and add the define as a preprocessor definition, along with WINVER=0x0501 and NTDDI_VERSION=0x05010000 to make completely sure that you are targetting XP (and Vista).
from javasysmon.
Related Issues (20)
- Access violation in call to processTable() - (Win7 64bit) HOT 6
- Process handle leak when killing a process on Windows
- NPE when try to kill linux process running JDK8 HOT 5
- When SWAP is totally disabled under Windows JavaSysMon returns incorrect SWAP values
- When java is started as a service under Windows, JavaSysMon may not find the current process
- Clean way to exec a new sub process and get its PID to be able to kill it?
- Uncompatible DLL loaded on Windows 64-bit HOT 12
- windows 32bit dll was incorrectly compiled as 64bit HOT 3
- No match found on RHEL 6.6
- http://continuousdelivery.com/downloads/javasysmon/javasysmon-0.3.5.jar is dead HOT 1
- NullPointerException in ProcessInfo.stringFormat HOT 2
- Jar File Download Links is Dead(404)
- object.swap() returns not free memory, but occupied memory HOT 1
- Network and Disk stats
- Add a function to getCurrentOsProcess()
- com.jezhumble.javasysmon.WindowsMonitor.processTable() leads sometimes to access violation under Windows10
- ProcessInfo.getCommand() leads to ??? under Windows 10
- fix links in the readme file
- missing javadocs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javasysmon.