Hi,
This is strange indeed?
Can you give us the result of "java -version" ?
I think the best solution is to comment in the startup script the line
checking for the JVM version.
How did you do the installation?
- Using the install scripts?
- For Tomcat?
Thanks in advance,
Hope it helps,
Fred.
On Fri, Oct 8, 2010 at 11:52 AM, omega psi <[email protected]> wrote:
>
> This does not seem to fix the issue...
>
> I have the following packages installed
> - java-6-sun-bin
> - java-6-sun-demo
> - java-6-sun-fonts
> - java-6-sun-javadb
> - java-6-sun-jdk
> - java-6-sun-jre
> - java-6-sun-plugin
> - java-6-sun-source
>
> My /etc/profile, /etc/envorinment and /etc/bash.bashrc include now:
> export JAVA_HOME=/usr/lib/jvm/java-6-sun
> PATH=$JAVA_HOME/bin:$PATH
> export PATH
>
> Here are the commands i run:
>
> omega...@ubuntu:~$ sudo bash
> [sudo] password for omegapsi:
> r...@ubuntu:~# service artifactory start
> Created output file /opt/artifactory-2.2.5/logs/consoleout.log
> Cannot find a JRE or JDK. Please set JAVA_HOME to a >=1.5 JRE
> r...@ubuntu:~# echo $JAVA_HOME
> /usr/lib/jvm/java-6-sun
> r...@ubuntu:~# which java
> /usr/lib/jvm/java-6-sun/bin/java
> r...@ubuntu:~#
>
> Am i missing an argument when i switch to root?
>
> Thanx for the help, i'm kinda lost...
> --
> View this message in context:
> http://forums.jfrog.org/Ubuntu-10-04-Artifactory2-2-5-Problems-setting-JAVA-HOME-tp5607478p5614383.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