![無法在 Ubuntu Mate 16.04 中執行 Studio-3T 2018.1.0](https://rvso.com/image/898917/%E7%84%A1%E6%B3%95%E5%9C%A8%20Ubuntu%20Mate%2016.04%20%E4%B8%AD%E5%9F%B7%E8%A1%8C%20Studio-3T%202018.1.0.png)
我是 Linux 環境的新手,現在運行 MongoDB GUI Studio 3T 時遇到一些問題。
我已經在 Ubuntu Mate 16.04 中安裝了“Studio-3T 2018.1.0”
首先我提取了 tar 文件,然後更改了權限。
chmod +x studio-3t-linux-x86-no-shell.sh
然後我運行了該文件
./studio-3t-linux-x86-no-shell.sh
- 最後它開始執行並安裝在我的機器上。
但最後當我嘗試打開/運行應用程式時,它引發了啟動錯誤。
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.widgets.Display at t3.dataman.mongodb.app.Studio3TApp.mq(Studio3TApp.java:49) at t3.dataman.mongodb.app.Studio3TApp.main(Studio3TApp.java:39) 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 com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:81) at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62)
答案1
在我的 64 位元系統上,我可以使用以下命令安裝並啟動它:
cd ~/Downloads
wget https://download.studio3t.com/studio-3t/linux/2020.1.2/studio-3t-linux-x64.tar.gz
tar -xzf studio-3t-linux-x64.tar.gz
sh studio-3t-linux-x64-no-shell.sh
# then it starts when installer is finished
如果你有64位元系統,可以試試這個方法。
在 32 位上,我遇到了與您所寫的相同的錯誤。我建議直接聯絡 Studio-3T。