Login  Register

Re: Users - Running in Java 5

Posted by Doug Hall-6 on Apr 29, 2006; 2:44am
URL: http://ofbiz.116.s1.nabble.com/Users-Running-in-Java-5-tp138774p138778.html



On 4/28/06, Manuel Desdin <[hidden email]> wrote:
it depends, there is a setting under  "/Applications/Utilities/Java/
J2SE 5.0/Java Preferences.app" (start this application) to make 1.4.2
the default java environment, so you don't have to care, but if you
only want to run ofbiz under 1.4.2 then you will have to set the
JAVA_HOME environment variable under the terminal in use or edit the
ant (for compiling) and startofbiz.sh scripts. for the 1.4.2
JAVA_HOME point it to /System/Library/Frameworks/JavaVM.framework/
Versions/1.4.2/Home.

I may be the only one, but changing that setting in the Java Preferences application has absolutely no effect. Never has. I changed it, logged out, then back in and did "java -version". It was still 1.5... However, changing the JAVA_HOME did the trick. It finished building and the install ran without a hitch. I still have some configuration problems, but I'll ask about them Monday.

Thanks for your help,
Doug
 



 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users