karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-4976) JAVA_HOME autodiscovery not working on FreeBSD
Date Thu, 09 Feb 2017 14:22:42 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859584#comment-15859584
] 

Guillaume Nodet edited comment on KARAF-4976 at 2/9/17 2:22 PM:
----------------------------------------------------------------

Any suggestion on how to fix this issue ? I think I've read about a {{javavm}} command...


was (Author: gnt):
Any suggestion on how to fix this issue ? I think I've read about a `javavm` command...

> JAVA_HOME autodiscovery not working on FreeBSD
> ----------------------------------------------
>
>                 Key: KARAF-4976
>                 URL: https://issues.apache.org/jira/browse/KARAF-4976
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-os-integration
>         Environment: FreeBSD
>            Reporter: Eric de Boer
>            Priority: Minor
>
> If JAVA_HOME isn't set setenv tries to detect it from the path of java. On FreeBSD this
is /usr/local/bin/java,  while java resides in /usr/local/openjdk8/. This leads to setting
JAVA_HOME to a non existing path
> It would be nice to have it autodetect correctly, but at least check if the guessed JAVA_HOME
 is really a JDK/JRE, so it can be set correctly manually.
> Currently Karaf starts ok, but some functions that rely on a correct setting of JAVA_HOME
fail with unrelated error messages (e.g. doing a https call only throws a premaster secret
key error, because the Java ext dir is set incorrectly)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message