title: Using relative directory path in Java
body: <p>I am trying to use a relative path to locate an executable file within a Java class instead of hard-coded lines which worked, but using something like:</p>
  
  <p><code>final static String directory = "../../../ggla/samples/obj/linux_x86"</code></p>
  
  <p>fails... what is the proper way of using a relative path in Java?</p>