在我的 Linux Mint 上安裝 NetBeans 後出現問題,它無法執行任何操作 (i have problem after installing NetBeans on my Linux Mint it can't do anything)


問題描述

在我的 Linux Mint 上安裝 NetBeans 後出現問題,它無法執行任何操作 (i have problem after installing NetBeans on my Linux Mint it can't do anything)

我正在嘗試在我的 Linux Mint 19.1 上安裝 NetBeans 8.2 我無法啟動新項目或執行任何操作。

為什麼會發生這種情況,我可以做些什麼來解決它?

p>

Netbeans


參考解法

方法 1:

NetBeans 8.2 is working for me on Linux Mint. The most likely cause of your problem is that NetBeans 8.2 is configured to use an incompatible version of Java. To see which version of Java is being used, select Help > About:

LinuxHelpAbout

If you are using NetBeans 8.2 then:

  • JDK 8 must be installed.
  • NetBeans 8.2 must be configured to use JDK 8, as shown in the screen shot above.

As long as both conditions are met it does not matter how many other versions of Java are installed on your machine. I assume you know how to install JDK 8 (if necessary). To configure NetBeans to use JDK 8:

  • Locate the file netbeans.conf within the etc directory of your NetBeans installation directory.
  • netbeans.conf is a text file containing name/value property pairs. Open it in any text editor.
  • Locate the line containing the text netbeans_jdkhome. If that line is commented out by the use of a leading # character, delete that character.
  • Set the value of the property netbeans_jdkhome to the path to your JDK 8 installation.
  • On my Linux Mint machine the entry looks like this netbeans_jdkhome="/home/johndoe/jdk1.8.0_151", although you will probably be using a more recent update version of JDK 8.
  • Save the changes to netbeans.conf and (re)start Netbeans. Everything should work now.

If you still have problems update your question with:

  • A screen shot of Help > About like the one shown above.
  • The content of the NetBeans log (View > IDE Log) that was written since the most recent restart of NetBeans.

(by Amr Gamalskomisa)

參考文件

  1. i have problem after installing NetBeans on my Linux Mint it can't do anything (CC BY‑SA 2.5/3.0/4.0)

#linux-mint #netbeans #linux






相關問題

C/C++語言中的Conky (Conky in C/C++ language)

關閉終端不記得我對 nvm/npm 的 .profile 更改 (Closing the terminal doesnt remember my .profile changes for nvm/npm)

在 Linux Mint 中升級 Python 版本 (Upgrade Python version in Linux Mint)

試圖消除 python3 Gtk3 錯誤信息 (Trying to eliminate python3 Gtk3 error message)

在我的 Linux Mint 上安裝 NetBeans 後出現問題,它無法執行任何操作 (i have problem after installing NetBeans on my Linux Mint it can't do anything)

Linux Mint 19.1,白色背景上的白色文本 (Linux Mint 19.1, white text on white background)

PhpStorm 找不到 Linux Mint 系統變量 (PhpStorm doesn't find Linux Mint system variables)

在 Linux Mint 上安裝 Android Studio 的問題 (Problems with Installing Android Studio on Linux Mint)

如何解決 Linux 中的“npm ERR!code ELIFECYCLE”錯誤? (How to solve "npm ERR! code ELIFECYCLE" error in Linux?)

在 Linux Mint 20.1 / Ubuntu 20.04 上安裝/卸載 Docker 後網絡連接斷開 (Broken network connection after Docker install/uninstall on Linux Mint 20.1 / Ubuntu 20.04)

如何使用 Python 和 Selenium Webdriver 在 Chrome 中加載默認配置文件? (How to load default profile in Chrome using Python and the Selenium Webdriver?)

如何使用終端重命名 linux 中的目錄? (How can I rename a directory in linux with terminal?)







留言討論