Hi,
I think the JAVA_HOME should be "/usr/lib/jvm/java-6-sun" and you should
have a full JDK installed there not only the JRE.
Hope this is your issue,
Fred.
On Wed, Oct 6, 2010 at 5:19 PM, omega psi <[email protected]> wrote:
>
> Hi, this is a pretty noobish problem, but somehow Artifactory doesn't find
> the variable.
> Calling "service artifacoty start" will prompt:
>
> Cannot find a JRE or JDK. Please set JAVA_HOME to a >=1.5 JRE
>
> I edited the /etc/environment and /etc/profile
>
> JAVA_HOME="/usr/lib/jvm/java-6-sun/jre"
> export JAVA_HOME
>
>
> PATH="/usr/lib/jvm/java-6-sun/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
>
> But echoing the JAVA_HOME displays the right path... any suggestions?
> --
> View this message in context:
> http://forums.jfrog.org/Ubuntu-10-04-Artifactory2-2-5-Problems-setting-JAVA-HOME-tp5607478p5607478.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users