<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: What to do when you get an UnsatisifiedLinkError when running an SWT or JFace application</title>
	<atom:link href="http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/</link>
	<description>iPhone and Mac OS X Programming (with a bit of Ruby on Rails)</description>
	<pubDate>Sat, 13 Mar 2010 01:20:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kristina</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-28500</link>
		<dc:creator>Kristina</dc:creator>
		<pubDate>Tue, 22 Jan 2008 23:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-28500</guid>
		<description>I created a Java project in Eclipse referencing a DLL and everything ran properly.  In Interface.java I declared the native functions, ie:
public native int ced_open_file(String filename);
.... 

static {
        System.loadLibrary("libparser.dll");
    }

Test.java contains the main program.  

I moved the same files in a Plug-in project.  I added libparser.dll to the root and added it to build.properties. I get the error: 

java.lang.UnsatisfiedLinkError: myplugin/Interface.open_file
	at myplugin.Interface.open_file(Ljava.lang.String;)I(Interface.java:???)
	at myplugin.Test.main(Test.java:29)

I have also changed System.load to System.loadLibrary(exact path to dll) and added the path to the VM arguments using -Djava.library.path.  I get the same error.  

Have any suggestions to why it works as a Java Project but not as a plug-in?</description>
		<content:encoded><![CDATA[<p>I created a Java project in Eclipse referencing a DLL and everything ran properly.  In Interface.java I declared the native functions, ie:<br />
public native int ced_open_file(String filename);<br />
&#8230;. </p>
<p>static {<br />
        System.loadLibrary(&#8221;libparser.dll&#8221;);<br />
    }</p>
<p>Test.java contains the main program.  </p>
<p>I moved the same files in a Plug-in project.  I added libparser.dll to the root and added it to build.properties. I get the error: </p>
<p>java.lang.UnsatisfiedLinkError: myplugin/Interface.open_file<br />
	at myplugin.Interface.open_file(Ljava.lang.String;)I(Interface.java:???)<br />
	at myplugin.Test.main(Test.java:29)</p>
<p>I have also changed System.load to System.loadLibrary(exact path to dll) and added the path to the VM arguments using -Djava.library.path.  I get the same error.  </p>
<p>Have any suggestions to why it works as a Java Project but not as a plug-in?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stanislav Vodetskyi</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-27591</link>
		<dc:creator>Stanislav Vodetskyi</dc:creator>
		<pubDate>Thu, 10 Jan 2008 10:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-27591</guid>
		<description>I'm now trying to use this solution on mac os x leopard and java6, but there is no org.eclipse.swt.carbon_3xx dir.</description>
		<content:encoded><![CDATA[<p>I&#8217;m now trying to use this solution on mac os x leopard and java6, but there is no org.eclipse.swt.carbon_3xx dir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus Sandy</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-39</link>
		<dc:creator>Markus Sandy</dc:creator>
		<pubDate>Sun, 23 Oct 2005 17:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-39</guid>
		<description>This does not work for me on OSX (Tiger).  I think there is another factor here as Laura suggests.
</description>
		<content:encoded><![CDATA[<p>This does not work for me on OSX (Tiger).  I think there is another factor here as Laura suggests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laura</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-38</link>
		<dc:creator>Laura</dc:creator>
		<pubDate>Mon, 05 Sep 2005 11:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-38</guid>
		<description>If you are trying to run Azureus on windows you can run into this error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in java.library.path

As is described a few posts higher (Posted by: Shivkumar &#124; June 29, 2005).

Though this errormessage looks very similar to the error described on this page, the underlying problem is completely different. It will occur even if you use the workaround described here or have the dll's in a directory on your (windows) path.

To fix this error, make sure you specify the swt.jar BEFORE the swt-pi-osx.jar in your classpath or don't specify it at all during runtime (you need it @ compiletime if you don't want any errors though).</description>
		<content:encoded><![CDATA[<p>If you are trying to run Azureus on windows you can run into this error:</p>
<p>Exception in thread &#8220;main&#8221; java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in java.library.path</p>
<p>As is described a few posts higher (Posted by: Shivkumar | June 29, 2005).</p>
<p>Though this errormessage looks very similar to the error described on this page, the underlying problem is completely different. It will occur even if you use the workaround described here or have the dll&#8217;s in a directory on your (windows) path.</p>
<p>To fix this error, make sure you specify the swt.jar BEFORE the swt-pi-osx.jar in your classpath or don&#8217;t specify it at all during runtime (you need it @ compiletime if you don&#8217;t want any errors though).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sail</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-37</link>
		<dc:creator>Sail</dc:creator>
		<pubDate>Wed, 24 Aug 2005 11:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-37</guid>
		<description>thanks very much.</description>
		<content:encoded><![CDATA[<p>thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sail</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-36</link>
		<dc:creator>Sail</dc:creator>
		<pubDate>Wed, 24 Aug 2005 11:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-36</guid>
		<description>thanks very much.</description>
		<content:encoded><![CDATA[<p>thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin Kenny</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-35</link>
		<dc:creator>Austin Kenny</dc:creator>
		<pubDate>Tue, 19 Jul 2005 11:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-35</guid>
		<description>Great help I am a linux user and I dont need the " " in the VM Arguments but now I have move to windows "NOT by choice" 

i was wondering what my problem was 

-Djava.library.path="C:/Program Files/Eclipse/3.0/eclipse/plugins/org.eclipse.swt.win32_3.0.0/os/win32/x86"

thanks Benjamin Booth</description>
		<content:encoded><![CDATA[<p>Great help I am a linux user and I dont need the &#8221; &#8221; in the VM Arguments but now I have move to windows &#8220;NOT by choice&#8221; </p>
<p>i was wondering what my problem was </p>
<p>-Djava.library.path=&#8221;C:/Program Files/Eclipse/3.0/eclipse/plugins/org.eclipse.swt.win32_3.0.0/os/win32/x86&#8243;</p>
<p>thanks Benjamin Booth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shivkumar</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-34</link>
		<dc:creator>Shivkumar</dc:creator>
		<pubDate>Wed, 29 Jun 2005 14:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-34</guid>
		<description>hello friends!

I am a windows user. I am trying to build azureus on eclipse(eclipse-SDK-3.0.2-win32). I am finding a similar error while running -

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in java.library.path

I put the following argument -Djava.library.path=
"C:\Shiv\Tools\eclipse\plugins\org.eclipse.swt.win32_3.0.2\os\win32\x86"
Which is the path of the folder that contains following 3 files on my machine -

javaw.exe.manifest
swt-awt-win32-3064.dll
swt-win32-3064.dll

But still the same error re-appears. Somebody please help me out.

Thank you very much.</description>
		<content:encoded><![CDATA[<p>hello friends!</p>
<p>I am a windows user. I am trying to build azureus on eclipse(eclipse-SDK-3.0.2-win32). I am finding a similar error while running -</p>
<p>Exception in thread &#8220;main&#8221; java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in java.library.path</p>
<p>I put the following argument -Djava.library.path=<br />
&#8220;C:\Shiv\Tools\eclipse\plugins\org.eclipse.swt.win32_3.0.2\os\win32\x86&#8243;<br />
Which is the path of the folder that contains following 3 files on my machine -</p>
<p>javaw.exe.manifest<br />
swt-awt-win32-3064.dll<br />
swt-win32-3064.dll</p>
<p>But still the same error re-appears. Somebody please help me out.</p>
<p>Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: And</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-33</link>
		<dc:creator>And</dc:creator>
		<pubDate>Tue, 03 May 2005 12:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-33</guid>
		<description>Thank you</description>
		<content:encoded><![CDATA[<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arn</title>
		<link>http://www.luisdelarosa.com/2004/10/31/what-to-do-when-you-get-an-unsatisifiedlinkerror-when-running-an-swt-or-jface-application/comment-page-1/#comment-32</link>
		<dc:creator>arn</dc:creator>
		<pubDate>Thu, 28 Apr 2005 10:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.luisdelarosa.com/wordpress/?p=15#comment-32</guid>
		<description>how to install SWT and use it easyly?</description>
		<content:encoded><![CDATA[<p>how to install SWT and use it easyly?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
