title: Import library Oshi
body: <p>I would like to develop a program that shows the computer information.
  I found a library called <a href="https://github.com/oshi/oshi" rel="nofollow">"Oshi"</a>. When I import this library and run my code, there is an exception:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jna/Platform
  at oshi.SystemInfo.&lt;init&gt;(SystemInfo.java:40)
  at Main.main(Main.java:10)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:497)
  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
  Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  ... 7 more
  </code></pre>
  
  <p>I would like run this code:</p>
  
  <pre><code>SystemInfo si = new SystemInfo();
  OperatingSystem os = si.getOperatingSystem();
  System.out.println(os);
  </code></pre>
  
  <p>What do I do wrong? </p>