Instalación NetBeans en Centos 7
Publicado por Xo (7 intervenciones) el 20/02/2019 19:41:11
Que tal buenas tardes, al instalar NetBeans en servidor de Centos 7 no lo puedo usar, ya que es esencial que Java esté instalado y al parecer ya esta instalado pero no puedo hacer uso de él. Las tareas realizadas fueron las siguientes:
Busco si java se encuentra instalado:
# find / -name 'java' -print
/etc/pki/ca-trust/extracted/java
/etc/pki/java
/etc/java
/etc/alternatives/java
/var/lib/alternatives/java
/usr/bin/java
/usr/lib/java
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.201-2.6.16.1.el7_6.x86_64/jre/bin/java
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.201-2.6.16.1.el7_6.x86_64/jre-abrt/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/bin/java
/usr/lib64/libreoffice/share/Scripts/java
/usr/share/java
/usr/share/swig/2.0.10/java
/usr/local/lib/perl5/site_perl/Inline-Java-0.66/Java/sources/org/perl/inline/java
/usr/local/netbeans-8.2/java
/opt/arduino-1.8.3/hardware/tools/avr/lib/gcc/avr/4.9.2/plugin/include/java
/opt/arduino-1.8.3/java
/opt/arduino-1.8.3/java/bin/java
/opt/Aptana_Studio_3/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/java
/opt/Aptana_Studio_3/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/builtin/java
# java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
# java -showversion Test
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
Error: Could not find or load main class Test
Les agradeceré su valioso apoyo para poder hacer la referencia a Java que necesita NetBeans.
El enlace que estoy tomando como referencia es:
https://www.tecmint.com/install-netbeans-ide-in-rhel-centos-fedora/
Enormes gracias.
Busco si java se encuentra instalado:
# find / -name 'java' -print
/etc/pki/ca-trust/extracted/java
/etc/pki/java
/etc/java
/etc/alternatives/java
/var/lib/alternatives/java
/usr/bin/java
/usr/lib/java
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.201-2.6.16.1.el7_6.x86_64/jre/bin/java
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.201-2.6.16.1.el7_6.x86_64/jre-abrt/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/bin/java
/usr/lib64/libreoffice/share/Scripts/java
/usr/share/java
/usr/share/swig/2.0.10/java
/usr/local/lib/perl5/site_perl/Inline-Java-0.66/Java/sources/org/perl/inline/java
/usr/local/netbeans-8.2/java
/opt/arduino-1.8.3/hardware/tools/avr/lib/gcc/avr/4.9.2/plugin/include/java
/opt/arduino-1.8.3/java
/opt/arduino-1.8.3/java/bin/java
/opt/Aptana_Studio_3/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/java
/opt/Aptana_Studio_3/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/builtin/java
# java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
# java -showversion Test
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
Error: Could not find or load main class Test
Les agradeceré su valioso apoyo para poder hacer la referencia a Java que necesita NetBeans.
El enlace que estoy tomando como referencia es:
https://www.tecmint.com/install-netbeans-ide-in-rhel-centos-fedora/
Enormes gracias.
Valora esta pregunta
0