[
https://issues.apache.org/jira/browse/DAEMON-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mladen Turk resolved DAEMON-257.
--------------------------------
Resolution: Fixed
Added both /usr/lib/jvm/default-java and /usr/lib/jvm/java to location_home
search path.
> jsvc unable to find Java home on Ubuntu/Debian
> ----------------------------------------------
>
> Key: DAEMON-257
> URL: https://issues.apache.org/jira/browse/DAEMON-257
> Project: Commons Daemon
> Issue Type: Bug
> Components: Jsvc
> Affects Versions: 1.0.10
> Environment: Ubuntu 11.10 amd64, Open JDK 6.
> Reporter: TK Kocheran
> Assignee: Mladen Turk
> Priority: Minor
> Labels: patch
> Fix For: 1.0.11
>
> Attachments: ubuntu-debian.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> On most modern Ubuntu and Debian systems, JAVA_HOME for the default Java
> executable lives at /usr/lib/jvm/default-java/. However, jsvc does not search
> here for a Java home in location.c. With a simple patch (attached), this
> problem can be easily fixed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira