nghiatranows / restclient-tool

Automatically exported from code.google.com/p/restclient-tool
0 stars 0 forks source link

Standalone version does not run on 64-bit JVM #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Thanks for this useful tool.

When running the executable jar on Windows 7 64-bit, the executable jar fails 
with this exception below while the exe fails silently.
Workaround is to run a 32-bit JVM, however a n error message for the exe would 
be helpful.

java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

java -jar rc-tool-SA_win32x86-1.0.2.jar

Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SW
T libraries on 64-bit JVM
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at code.google.restclient.ui.MainWindow.open(MainWindow.java:115)
        at code.google.restclient.init.Launcher.main(Launcher.java:29)

Original issue reported on code.google.com by gael.mar...@gmail.com on 25 Jul 2010 at 8:45

GoogleCodeExporter commented 9 years ago
Current version supports only 32-bit JVM. I would try to release 64-bit version 
or put some informative message. Thanks for bringing it up.

-Yadu

Original comment by a1yadu on 26 Aug 2010 at 8:14