Hi Eric, There have been a series of changes to get OFBiz to build with OpenJDK. Start with https://issues.apache.org/jira/browse/OFBIZ-4749 and look at the related issues as well. I would expect 12.0.4 to already have the fixes, but perhaps not.
Could you see if the same error arises when you try to build the trunk version? Could you see if the error you see with 12.0.4 matches those reported on 4749 and/or related issues? Thanks Paul Foxworthy Info Olagos wrote > Thanks Jacques, > Eric > > 2012/12/24 Jacques Le Roux < > jacques.le.roux@ > >: >> Yes you can have both. >> >> use >> whereis java >> or >> which java >> to find where are your java installed versions >> >> java -version >> to know the one you use currently >> >> then set the JAVA_HOME in path to use the one you want >> >> Don't ask more, help yourself with Google ;o) >> http://www.ducea.com/2010/08/09/multiple-java-versions-on-debian/ >> http://anshee.blogspot.de/2008/05/multiple-versions-of-java-on-debian.html >> http://blog.mypapit.net/2007/10/how-to-switch-between-different-java-jvm-in-ubuntu-and-debian-gnu-linux.html >> >> Jacques >> >> From: "Info Olagos" < > info.olagos@ > > >>> Hello, >>> >>> What is the best way to install the sun java 6 jdk and jre on Debian >>> Linux? >>> >>> I first installed OpenJDK but it gives errors when i start ./ant in >>> ofbiz12.0.4 . >>> >>> Can i install sun java 6 over it? or do i have to remove first openJDK >>> java. >>> >>> regards, >>> Eric >>> >>> -- >>> Olagos bvba >>> http://www.olagos.eu >>> http://www.olagos.com >>> http://www.olagos.be >>> http://www.olagos.nl > > > > -- > Olagos bvba > http://www.olagos.eu > http://www.olagos.com > http://www.olagos.be > http://www.olagos.nl > Olagos team > Kerkstraat 34 > 2570 Duffel > Belgium ----- -- Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/installation-of-sun-java-6-jdk-and-jre-tp4638459p4639163.html Sent from the OFBiz - User mailing list archive at Nabble.com.
