Project

General

Profile

Actions

Bug #2842

closed

Jetty can't be started with a JAVA_HOME which is /usr/java

Added by Nicolas PERRON over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

We need a more flexible test to set the JAVA and JAVA_HOME envars.

With java installed in /usr/java, jetty can't be started and display theses messages:

/etc/init.d/jetty restart
# /etc/init.d/jetty restart
Stopping Jetty: OK
Setting umask to 0027
Starting Jetty: /etc/init.d/jetty: line 491: /usr/bin/java: No such file or directory

Actions

Also available in: Atom PDF