timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-13676] jenkins won't start due to incorrect JAVA_HOME set in /etc/init/jenkins.conf #2287

Closed timja closed 10 years ago

timja commented 12 years ago

Won't start, no feedback, no logging.
/etc/init/jenkins.conf has a hardcoded entry for JAVA_HOME pointing towards /usr/lib/jvm/default-java or something. But I think it is only created by either openjdk-7 packages or ubuntu 12.04. Neither of which Im using.

I can work around the problem but this was very surprising behavior. I believe in the past some kind of fallback behavior was used to ensure it would pick up a supported JDK.


Originally reported by sgo, imported from: jenkins won't start due to incorrect JAVA_HOME set in /etc/init/jenkins.conf
  • status: Resolved
  • priority: Major
  • resolution: Cannot Reproduce
  • resolved: 2014-06-01T00:26:45+00:00
  • imported: 2022/01/10
timja commented 10 years ago

danielbeck:

Report seems obsolete based on current debian package sources: It just defines:

JAVA=/usr/bin/java

(and has for many years, but as nobody is watching this I cannot ask for update/clarification...)