You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Archimedes Trajano (JIRA)" <ji...@apache.org> on 2012/06/26 05:04:42 UTC
[jira] [Created] (KARAF-1590) JAVA_HOME is not set correctly on Mac
OS X
Archimedes Trajano created KARAF-1590:
-----------------------------------------
Summary: JAVA_HOME is not set correctly on Mac OS X
Key: KARAF-1590
URL: https://issues.apache.org/jira/browse/KARAF-1590
Project: Karaf
Issue Type: Bug
Components: karaf-core
Affects Versions: 2.2.7
Environment: Mac OS
Reporter: Archimedes Trajano
JAVA_HOME in the bin/karaf on MacOS should be set as
JAVA_HOME=$( /usr/libexec/java_home )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-1590) JAVA_HOME is not set correctly on
Mac OS X
Posted by "Archimedes Trajano (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401394#comment-13401394 ]
Archimedes Trajano commented on KARAF-1590:
-------------------------------------------
Oracle JDK 7. If you switch the order on the control panel it will not use /System/Library/Frameworks/JavaVM.framework/Home
Currently the workaround I use is to add export JAVA_HOME=$( /usr/libexec/java_home ) in my .profile.
> JAVA_HOME is not set correctly on Mac OS X
> ------------------------------------------
>
> Key: KARAF-1590
> URL: https://issues.apache.org/jira/browse/KARAF-1590
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 2.2.7
> Environment: Mac OS
> Reporter: Archimedes Trajano
>
> JAVA_HOME in the bin/karaf on MacOS should be set as
> JAVA_HOME=$( /usr/libexec/java_home )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-1590) JAVA_HOME is not set correctly on
Mac OS X
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401211#comment-13401211 ]
Freeman Fang commented on KARAF-1590:
-------------------------------------
I consider this as an improvement but not a bug, as current
/System/Library/Frameworks/JavaVM.framework/Home
and
what you suggest use /usr/libexec/java_home is pretty much the same thing.
Just one question, doesn't current /System/Library/Frameworks/JavaVM.framework/Home works for you?
If not, what's your Mac OS/jdk version?
> JAVA_HOME is not set correctly on Mac OS X
> ------------------------------------------
>
> Key: KARAF-1590
> URL: https://issues.apache.org/jira/browse/KARAF-1590
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 2.2.7
> Environment: Mac OS
> Reporter: Archimedes Trajano
>
> JAVA_HOME in the bin/karaf on MacOS should be set as
> JAVA_HOME=$( /usr/libexec/java_home )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira