DISPLAY
DISPLAY 環境変数は、どのディスプレイで開始するかをプログラムに指示します。それに問題がある場合、次のようなエラーが表示されます。
ERROR: Error: Installation cannot proceed. You may either:1. Set an X11 display, and restart the install process2. Use the silent install feature by specifying the -mode silent option
または
ERROR: Exception in thread "main" com.google.inject.ProvisionException: Guice provision errors:1) Error injecting constructor, java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment at com.mathworks.instutil.wizard.JEditorPaneHyperlinkHandler.<init>(JEditorPaneHyperlinkHandler.java:57) while locating com.mathworks.instutil.wizard.JEditorPaneHyperlinkHandler while locating com.mathworks.instutil.wizard.HyperlinkHandler for parameter 5 at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.<init>(SwingComponentFactoryImpl.java:111)
これを解決するには、root の DISPLAY 変数を、ご使用のユーザーアカウントに設定された値に一時的に設定します。
ユーザーアカウントとして以下を実行します。
これにより、表示環境変数が表示されます。これは後で使用するために覚えておいてください。次に、以下を入力します。
ここの変数 <DISPLAY> は、printenv コマンドの DISPLAY 変数の値です。
これらの提案のいずれも機能せず、インターネットに接続している場合は、MATLAB パッケージマネージャーを使用して MathWorks 製品をインストールしてみてください。その手順と追加の詳細は以下にあります。