[問題] 執行 jar 失敗
https://code.google.com/archive/p/androidlogcatviewer/downloads
LogcatOfflineViewer_win32_20120505.zip
我在ubuntu 執行它~ 出現 Cannot load 32-bit SWT libraries on 64-bit JVM 錯誤
想請問一下在ubuntu 下怎麼讓這支程式正常跑起來?
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:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.204.137.80
※ 文章網址: https://www.ptt.cc/bbs/java/M.1515246442.A.8C5.html
推
01/06 21:50,
6年前
, 1F
01/06 21:50, 1F
→
01/06 21:50,
6年前
, 2F
01/06 21:50, 2F
→
01/06 21:51,
6年前
, 3F
01/06 21:51, 3F
→
01/07 00:54,
6年前
, 4F
01/07 00:54, 4F
→
01/07 10:14,
6年前
, 5F
01/07 10:14, 5F
→
01/10 21:19,
6年前
, 6F
01/10 21:19, 6F
→
01/10 21:20,
6年前
, 7F
01/10 21:20, 7F
→
01/10 21:20,
6年前
, 8F
01/10 21:20, 8F
→
01/10 21:21,
6年前
, 9F
01/10 21:21, 9F
討論串 (同標題文章)
java 近期熱門文章
PTT數位生活區 即時熱門文章