title: Getting started with UNO and Java with Open/LibreOffice
body: <p>I just started to develop a Java project using LibreOffice's 4.0.1 UNO SDK, aaaand... I'm pretty much stuck right at the beginning. I think the same can be applied if I used OpenOffice.org instead of LibreOffice, so any help is appreciated.</p>
  
  <p>I'm using Eclipse Juno 4.2 and I created a "Hello World"-like project. I added the <code>/program</code> directory to the classpath (added as an external class folder), and right at the beginning this line of code</p>
  
  <pre><code>XComponentContext ctx = Bootstrap.bootstrap();
  </code></pre>
  
  <p>throws an <code>UnsatisfiedLinkError</code> exception with the following stack trace:</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: no jpipe in java.library.path
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.loadLibrary0(Unknown Source)
      at java.lang.System.loadLibrary(Unknown Source)
      at com.sun.star.lib.util.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:50)
      at com.sun.star.lib.connections.pipe.PipeConnection.&lt;clinit&gt;(PipeConnection.java:48)
      at com.sun.star.lib.connections.pipe.pipeConnector.connect(pipeConnector.java:110)
      at com.sun.star.comp.connections.Connector.connect(Connector.java:114)
      at com.sun.star.comp.urlresolver.UrlResolver$_UrlResolver.resolve(UrlResolver.java:108)
      at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:301)
      at xx.test.unotest.UnoTest.main(UnoTest.java:16)
  </code></pre>
  
  <p>There's even a <code>try/catch</code> surrounding the instruction but it's not triggered.</p>
  
  <p>I can't find decent documentation about getting started with UNO, so I don't know what went wrong. The SDK is installed and the environment variables are configured.</p>
  
  <p>Am I missing something?</p>
  
  <p><strong>Edit</strong>: I'using Windows 7 64 bit. Maybe this has something to do with the problem.</p>