I’m trying to install NetBeans on Linux Mint, and I’m getting the following error every time I run the installation script:
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?
Содержание
- 6 Answers 6
- Дубликаты не найдены
- Комментарий дня
6 Answers 6
Looks like Netbeans does not work properly with Openjdk. This is what I did (in Linux Mint 12):
Then you will be able to run the .sh installer as usual.
In case anyone has this problem in the future, Netbeans doesn’t like OpenJDK 6 but — fortunately — it works fine with OpenJDK 7 (as expected as for Java 7 OpenJDK is the reference implementation). Just make sure you remove any Java 6 packages before installation attempts. On Ubuntu and Mint one can do:
It should work afterwards.
I hit this same issue on Kubuntu 12.04 LTS but needed Sun JDK 6 for a project I’m maintaining. I stumbled upon Martin Wimpress’ OAB-Java script (by way of help.ubuntu.com) which creates and installs a local apt repository for Sun JDK 6. You can find the latest instructions on Martin’s github site which run as follows:
If you want to see what this script is doing while it is running then execute the following from another shell:
Alternatively, you can clone the OAB-Java repo and kick of the script from within it:
Either way, once that is in place follow Jose’s instructions to remove openjdk and install sun jdk:
One final note, the script accepts a -7 argument which will create and install a local apt repository for Oracle JDK 7 should you want to go that route.
Дубликаты не найдены
Внимание, пишу спецом для тех у кого игры выдаёт «Unable to initialize the renderer to a valid video mode» 🙂 всё довольно просто — в винде ищите dxdiag.exe, запускайте его — находите там вкладку Дисплей, щёлкайте по ней и Включайте Direct3D.
dxdiag.exe — пуск, выполнить > «dxdiag» интер
Комментарий дня
Какие странные люди. Всю ночь изза стука не спали, но из квартир, чтоб решить проблему не выходили. Солидарность просто поражает)
Для начала убедитесь, что ваша видеокарта и система поодерживают дх12, т.к. судя по сообщению об ошибке вы запускаете игру на несовместимом оборудовании.
В папке Мои документы->My Games->Tom Clancy’s The Division найдите файл GFXSettings.TheDivison.exe, откройте его блокнотом и измените строку
на
.
Можно также просто попробовать удалить файлы настроек из этой папки.
Если видеокарта точно поддерживает дх12, у вас Win10 и обновление дх12 не помогло, то единственным выходом будет переустановить дрова на видяху, предварительно вычистив все следы старых. Можно сторонний софт использовать, например DDU с сайта Guru3D — мне их прога помогла как-то решить проблему с неустанавливающимися и неудаляющимися драйверами.
Источник: