Replaced SystemInfo.getMachineArchitecture() with getArchitecture() and getArchitectureName().

This commit is contained in:
Adam Murdoch
2013-12-10 14:28:48 +11:00
parent f677815cab
commit 81e0adbbcd
5 changed files with 31 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ public class Main {
System.out.println("* Encoding: " + System.getProperty("file.encoding"));
SystemInfo systemInfo = Native.get(SystemInfo.class);
System.out.println("* Kernel: " + systemInfo.getKernelName() + ' ' + systemInfo.getKernelVersion() + ' ' + systemInfo.getMachineArchitecture());
System.out.println("* Kernel: " + systemInfo.getKernelName() + ' ' + systemInfo.getKernelVersion() + ' ' + systemInfo.getArchitectureName() + " (" + systemInfo.getArchitecture() + ")");
Process process = Native.get(Process.class);
System.out.println("* PID: " + process.getProcessId());