I downloaded a java app (a desktop LogCat viewer from android logs) and am trying to run it. My problem is that I amm getting an error that seems to imply I cannot run a 32 bit java app on a 64 bit jvm. The stack trace is below.
I need to point out that I cannot change the source. I don't have access to it. I need to know how I can configure my jvm to run the jar. I'm running in Windows 7.
> java -jar LogcatOfflineViewer_20120505.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT 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 com.logcat.offline.UIThread.runUI(UIThread.java:112)
at com.logcat.offline.Main.main(Main.java:6)
... 5 more