Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » swt jar file for 64 bit windows and 64 bit JVM
swt jar file for 64 bit windows and 64 bit JVM [message #737193] Fri, 14 October 2011 15:19 Go to next message
ynwa  is currently offline ynwa
Messages: 5
Registered: October 2011
Junior Member
Hi All,

I am a java newbie.

I am using swt-win.jar file for my 64 bit windows OS and 64 bit JVM.

The error i am getting is

"Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM"

I have tried some other jar files too and they too didnt work for me.

Some let me know the correct jar file to use for windows 64 bit and 64 bit JVM.

Thanks.
Re: swt jar file for 64 bit windows and 64 bit JVM [message #737522 is a reply to message #737193] Sat, 15 October 2011 01:00 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak Azad
Messages: 545
Registered: July 2009
Senior Member
On 10/15/2011 12:49 AM, ynwa wrote:
> Hi All,
>
> I am a java newbie.
> I am using swt-win.jar file for my 64 bit windows OS and 64 bit JVM.
>
> The error i am getting is
> "Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load
> 32-bit SWT libraries on 64-bit JVM"
>
> I have tried some other jar files too and they too didnt work for me.
>
> Some let me know the correct jar file to use for windows 64 bit and 64
> bit JVM.
>
> Thanks.

Did you download the 64 bit version of Eclipse? The SWT jar will be
included in this -
http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/download.php?dropFile=eclipse-platform-3.7.1-win32-x86_64.zip

You can also download SWT alone also if you are developing standalone
apps -
http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/index.php#SWT
Re: swt jar file for 64 bit windows and 64 bit JVM [message #954167 is a reply to message #737522] Mon, 22 October 2012 16:59 Go to previous message
Suraj Maharjan is currently offline Suraj Maharjan
Messages: 1
Registered: October 2012
Junior Member
Deepak Azad wrote on Sat, 15 October 2011 01:00
On 10/15/2011 12:49 AM, ynwa wrote:
> Hi All,
>
> I am a java newbie.
> I am using swt-win.jar file for my 64 bit windows OS and 64 bit JVM.
>
> The error i am getting is
You can add eclipse variable pointing to the location of org.eclipse.swt which comes with installation of eclipse.
The jar is located in the plugins directory.






> "Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load
> 32-bit SWT libraries on 64-bit JVM"
>
> I have tried some other jar files too and they too didnt work for me.
>
> Some let me know the correct jar file to use for windows 64 bit and 64
> bit JVM.
>
> Thanks.

Did you download the 64 bit version of Eclipse? The SWT jar will be
included in this -
http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/download.php?dropFile=eclipse-platform-3.7.1-win32-x86_64.zip

You can also download SWT alone also if you are developing standalone
apps -
http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/index.php#SWT

Previous Topic:Help with OSGI
Next Topic:Opening/viewing File
Goto Forum:
  


Current Time: Thu Jul 24 23:57:24 EDT 2014

Powered by FUDForum. Page generated in 0.01450 seconds