title: IntelliJ Linux LWJGL 3 Add natives to
body: <p>I wanted to try out the new LWJGL 3 which is currently in kind of a "beta"-state. Embarrassingly I can't even get the HelloWorld example (<a href="http://www.lwjgl.org/guide" rel="nofollow">http://www.lwjgl.org/guide</a>) to run.</p>
  
  <blockquote>
    <p>package org.lwjgl.glfw does not exist</p>
  </blockquote>
  
  <p>is all I get.</p>
  
  <p>I added the lwjgl.jar and disruptor.jar to my module dependencies, but I guess I'm missing something about the natives here. I tried adding them as a lib, as a module (which tells me it's an empty library although there are two .so files in there oO)</p>
  
  <p>I tried setting the -Djava.library.path of course, no success here:</p>
  
  <pre><code>-Djava.library.path=home/teolha/lwjgl-test/lib/natives/linux/x64
  </code></pre>
  
  <p>I tried invalidating caches, adding it as system lib and about everything I know. Still, the glfw package can't be found.</p>
  
  <p>I'm not sure what I'm doing wrong, but I've never done this in IntelliJ 14, neither with lwjgl 3, so maybe something has completely changed here?</p>
  
  <p>Any help appreciated! </p>