title: Get Error File.<init> when run Executable jar in Ubuntu terminal
body: <p>Title tells all.</p>
  
  <p>I have to run my java application project in terminal.</p>
  
  <p>So I made executable jar in Eclipse. </p>
  
  <p>I have already tried all of three options exist.</p>
  
  <p>But my Error does not disappear.</p>
  
  <p>This program runs nicely in eclipse, But when I run in Executable jar form it makes error.</p>
  
  <p>Messages attached in below.</p>
  
  <pre><code>Exception in thread "main" java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
  Caused by: java.lang.NullPointerException
      at java.io.File.&lt;init&gt;(File.java:251)
      at com.zinnaworks.iis.DBFileLoader.loadDBFile(DBFileLoader.java:17)
      at com.zinnaworks.iis.Main.main(Main.java:23)
      ... 5 more
  </code></pre>
  
  <p>I think I should focus on this File thing.</p>
  
  <p>If you got any solutions or nice references with it, please share.</p>
  
  <p>:D Thanks.</p>
  
  <p>================ After got some feedback =================================
  Thanks.</p>
  
  <p>And Maybe this part can be a clue.</p>
  
  <p>My command line was </p>
  
  <pre><code>java -jar IISDB_C.jar
  </code></pre>
  
  <p>result:</p>
  
  <pre><code>java.io.FileNotFoundException: file:/home/juneyoungoh/IISDB_C.jar!/com/zinnaworks/iis/conf/iis.properties (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138)
      at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:97)
      at com.zinnaworks.iis.conf.PropertyLoader.loadProp(PropertyLoader.java:14)
      at com.zinnaworks.iis.Main.main(Main.java:21)
  </code></pre>
  
  <p>these are facts.
  1. I made a Executable jar in eclipse.
  2. iis.properties file is exactly in that path(IISDB_C.jar!/com/zinnaworks/iis/conf/iis.properties), but I do not know what that '!' means
  3. every other files make same error because they are all initialized by String which defined in property file.</p>
  
  <p>P.S
  I do not know how to use -Dmp option. all path is designed in relative path and it included in that jar file.</p>