title: Runnable Jar cannot find Resources and Other Libraries
body: <p>I created a desktop app and I have run into a problem with my generated runnable jar. Everything works fine in the Eclipse environment, but when I generate the jar it only shows the<code>swt</code>components (menu, tabs, etc..).
  The other libraries location is a blank area (library to generate gallery). The same does not appear<code>set ToolBar</code>(containing buttons with images),<code>GoogleMap.html</code>does not appear.</p>
  
  <p>How can I correctly generate an executable jar that will include these external sources?</p>
  
  <p>ToolBar image loading code : </p>
  
  <pre><code>folderSearchIcon = new Image(display, this.getClass().getResourceAsStream("images/search_folder.png"));
  </code></pre>
  
  <p>GoogleMap.html loading code :</p>
  
  <pre><code>File mapFile = new File("resources/GoogleMap.html");        
  if(!mapFile.exists()) {
      System.out.println("File doesn't exist! " + mapFile.getAbsolutePath()); 
      return;
  }
  </code></pre>
  
  <p>Generating runnable jar:</p>
  
  <p><img src="https://i.stack.imgur.com/YM4fT.png" alt="enter image description here"></p>
  
  <p>My app structure in Eclipse and generated jar structure:</p>
  
  <p><img src="https://i.stack.imgur.com/mZe4J.png" alt="enter image description here"></p>
  
  <p>Generated manifest :</p>
  
  <pre><code>Manifest-Version: 1.0
  Rsrc-Class-Path: ./ swt.jar commons-imaging-1.0-SNAPSHOT.jar org.eclip
    se.nebula.widgets.gallery_0.5.3.201210262156.jar xmpcore.jar metadata
    -extractor-2.6.3.jar
  Class-Path: .
  Rsrc-Main-Class: geotagger.AppInit
  Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader
  </code></pre>