netbeans安装错误:无法初始化以无头模式运行的ui [英] netbeans installation error: can't initialize ui running in headless mode
问题描述
我正在尝试在Linux Mint上安装NetBeans,并且每次运行安装脚本时都会出现以下错误:
I'm trying to install NetBeans on Linux Mint, and I'm getting the following error every time I run the installation script:
配置安装程序... 正在系统上搜索JVM ... 提取安装数据... 正在运行安装程序向导... 无法初始化UI 在无头模式下运行
Configuring the installer... Searching for JVM on the system... Extracting installation data... Running the installer wizard... Can`t initialize UI Running in headless mode
我应该怎么做才能使其正常工作?
What should I do to get it working?
推荐答案
看起来像Netbeans在Openjdk中无法正常工作.这就是我所做的(在Linux Mint 12中):
Looks like Netbeans does not work properly with Openjdk. This is what I did (in Linux Mint 12):
sudo apt-get remove openjdk*
sudo apt-get install sun-java6-jdk
然后,您将能够照常运行.sh
安装程序.
Then you will be able to run the .sh
installer as usual.
这篇关于netbeans安装错误:无法初始化以无头模式运行的ui的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!