Hi guys,
In mavericks we don't have to hardcode the $JAVA_HOME in .profile file. We
can get it using */usr/libexec/java_home. *In our wso2server.sh file we are
using the older method which is -

JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home

We can get this by using

JAVA_HOME= */usr/libexec/java_home*


in mavericks. I think we should support this new feature in our
wso2server.sh file cause people are facing difficulties when picking up the
proper java path in Mavericks.

Resources
http://java.dzone.com/articles/java-findingsetting
https://developer.apple.com/library/mac/qa/qa1170/_index.html
https://lists.forgerock.org/pipermail/openam/2013-November/014425.html

-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email       [email protected] <[email protected]>*
*  ~Mobile     +94712112165*

*  ~Website   dulithawijewantha.com <http://dulithawijewantha.com/>*

*  ~Blog         blog.dulithawijewantha.com
<http://dulichan.github.io/chan/>*
*  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to