![Ubuntu Mate 16.04 で Studio-3T 2018.1.0 を実行できない](https://rvso.com/image/898917/Ubuntu%20Mate%2016.04%20%E3%81%A7%20Studio-3T%202018.1.0%20%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84.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 に直接問い合わせることをお勧めします。