Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Tue Jul 22 21:13:44 EDT 2025

Powered by FUDForum. Page generated in 0.09705 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top