Estoy tratando de configurar Jenkins en 11.10 usando solo paquetes proporcionados por Ubuntu. Después apt-get install jenkins
, Jenkins no comenzará. Lo rastreé hasta un ausente /usr/lib/jvm/default-java/bin/java
.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============================-=======================================-==============================================================================
ii jenkins 1.409.1-0ubuntu4.2 Continuous Integration and Job Scheduling Server
ii openjdk-6-jre 6b24-1.11.3-1ubuntu0.11.10.1 OpenJDK Java runtime, using Hotspot JIT
# update-alternative --config java
There is only one alternative in link group java: /usr/lib/jvm/java-6-openjdk/jre/bin/java
Nothing to configure.
¿Qué paquete crea / usr / lib / jvm / default-java?
/usr/lib/jvm/default-java/bin/java
no se puede encontrar, pero se/usr/lib/jvm/default-java
puede encontrar. Gracias por la respuesta detallada y el enlace!