Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2833  / 2 Years ago, fri, february 11, 2022, 6:41:08

I have a problem when I want install netbeans7.4 on Ubuntu 14.04.



I have openJDK :



morgan@morgan-laptop:~/Téléchargements$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1ubuntu4)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)


When i try to install it (sorry for error message, it's a french version) :



morgan@morgan-laptop:~/Téléchargements$ sudo sh ./netbeans-7.4-linux.sh 
Configuration du programme d'installation...
Recherche d'une JVM sur le système...
Extraction des données d'installation...
Exécution de l''assistant d''installation...
Impossible d'initialiser l'Interface Utilisateur
Running in headless mode

Exception: java.awt.HeadlessException thrown from the UncaughtExceptionHandler in thread "main"


And this is my kernel version :



morgan@morgan-laptop:~/Téléchargements$ uname -r
3.13.0-24-generic


I don't anderstand why it's not work. I have seen de same problem (other topic) but for resolve it they uninstall openJDK for Sun JDK. Yet it worked on ubuntu 12.04 with openJDK


More From » 14.04

 Answers
0

I did not install jdk, for solve them :



sudo apt-get install openjdk-7-jdk

[#25919] Friday, February 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lasagnerhead

Total Points: 487
Total Questions: 105
Total Answers: 122

Location: French Southern and Antarctic Lands
Member since Sun, May 3, 2020
4 Years ago
;