installation of sun java 6 jdk and jre

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

installation of sun java 6 jdk and jre

Heidi Dehaes - 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
Reply | Threaded
Open this post in threaded view
|

Re: installation of sun java 6 jdk and jre

Jacques Le Roux
Administrator
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" <[hidden email]>

> 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
Reply | Threaded
Open this post in threaded view
|

Re: installation of sun java 6 jdk and jre

Heidi Dehaes - Olagos
Thanks Jacques,
Eric

2012/12/24 Jacques Le Roux <[hidden email]>:

> 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" <[hidden email]>
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: installation of sun java 6 jdk and jre

Paul Foxworthy
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 <[hidden email]>:
> 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" <[hidden email]>
>> 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/
Reply | Threaded
Open this post in threaded view
|

Re: installation of sun java 6 jdk and jre

Heidi Dehaes - Olagos
Hello Paul,

Thanks for your reply.
I have in the meantime no openjdk installed anymore.
The main problem i had was not enough central memory.
After that i installed ofbiz and sun java 7 easily.
When i find the time , i will try to redo the experiment.
But at the moment i need to hit a date end of February to have a full new
installation ready of my ecommerce site.

I keep you informed.

Thanks,
Eric

2013/1/26 Paul Foxworthy <[hidden email]>

> 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 &lt;
>
> > jacques.le.roux@
>
> > &gt;:
> >> 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" &lt;
>
> > info.olagos@
>
> > &gt;
> >>> 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.
>



--
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