jHardware
jHardware copied to clipboard
Get crossplatform hardware details with Java
I can't connect to the download webpage.
When I run this code: ```java MemoryInfo memory = HardwareInfo.getMemoryInfo(); System.out.println("Total memory: " + memory.getTotalMemory()); System.out.println("Free memory: " + memory.getFreeMemory()); ``` I get this: ```none Total memory: null Free memory:...
Hello, Thanks for a interesting project! I have some question about how jHardware works. 1. I noticed that JNA is in the Maven dependencies of the project (transitively though jSensors)....
The ifconfig command is deprecated in many linux distributions and some already replaced it completly with the `ip` command.
I install jhardware use maven, it have jSensor.jar, but when i call HardwareInfo.getProcessorInfo().getMhz(), i get ClassNotFoundException com.profesorfalken.jsensors.JSensors Error, platform is windows and IDE is eclipse, jHardware version is 0.8.4
==================================== Testing getDisplayInfo... ==================================== Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 49.295 sec
SEVERE: Error calling WMI4Java com.profesorfalken.wmi4java.WMIException:Permission denied Windows 8.1 64Bit Profesional
`java.lang.NumberFormatException: For input string: "63000 " at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at org.jutils.jhardware.info.processor.unix.UnixProcessorInfo.parseInfo(UnixProcessorInfo.java:68) at org.jutils.jhardware.info.processor.AbstractProcessorInfo.getInfo(AbstractProcessorInfo.java:29) at org.jutils.jhardware.info.processor.AbstractProcessorInfo.getInfo(AbstractProcessorInfo.java:25) at org.jutils.jhardware.HardwareInfo.getProcessorInfo(HardwareInfo.java:48)` There is a newline character in the temperature String that...
On non-english Windowsversions the network information are incomplete, only the adapter name is identified correctly. The reason for this is that [WindowsNetworkInfo](https://github.com/profesorfalken/jHardware/blob/master/src/main/java/org/jutils/jhardware/info/network/windows/WindowsNetworkInfo.java#L47) searchs for english strings, which are not present...