You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by Alexey Grachev <al...@turbinekreuzberg.com> on 2019/07/02 21:05:52 UTC

JAVA_HOME is not set

Hello,


I installed newest pio 0.14 with docker. (ubuntu 18.04)

After starting pio -> I get "JAVA_HOME is not set"


Does anyone know where in docker config I have to setup the JAVA_HOME 
env variable?


Thanks  a lot!


Alexey



Re: JAVA_HOME is not set

Posted by Pat Ferrel <pa...@actionml.com>.
Oops, should have said: "I may have missed something but I don’t recall PIO
being released by Apache as an ASF maintained container/image release
artifact."


From: Pat Ferrel <pa...@occamsmachete.com> <pa...@occamsmachete.com>
Reply: user@predictionio.apache.org <us...@predictionio.apache.org>
<us...@predictionio.apache.org>
Date: July 3, 2019 at 11:16:43 AM
To: Wei Chen <we...@apache.org> <we...@apache.org>,
dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>, user@predictionio.apache.org
<us...@predictionio.apache.org> <us...@predictionio.apache.org>
Subject:  Re: JAVA_HOME is not set

BTW the container you use is supported by the container author, if at all.

I may have missed something but I don’t recall PIO being released by Apache
as an ASF maintained release artifact.

I wish ASF projects would publish Docker Images made for real system
integration, but IIRC PIO does not.


From: Wei Chen <we...@apache.org> <we...@apache.org>
Reply: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Date: July 2, 2019 at 5:14:38 PM
To: user@predictionio.apache.org <us...@predictionio.apache.org>
<us...@predictionio.apache.org>
Cc: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Subject:  Re: JAVA_HOME is not set

Add these steps in your docker file.
https://vitux.com/how-to-setup-java_home-path-in-ubuntu/

Best Regards
Wei

On Wed, Jul 3, 2019 at 5:06 AM Alexey Grachev <
alexey.grachev@turbinekreuzberg.com> wrote:

> Hello,
>
>
> I installed newest pio 0.14 with docker. (ubuntu 18.04)
>
> After starting pio -> I get "JAVA_HOME is not set"
>
>
> Does anyone know where in docker config I have to setup the JAVA_HOME
> env variable?
>
>
> Thanks a lot!
>
>
> Alexey
>
>
>

Re: JAVA_HOME is not set

Posted by Pat Ferrel <pa...@actionml.com>.
Oops, should have said: "I may have missed something but I don’t recall PIO
being released by Apache as an ASF maintained container/image release
artifact."


From: Pat Ferrel <pa...@occamsmachete.com> <pa...@occamsmachete.com>
Reply: user@predictionio.apache.org <us...@predictionio.apache.org>
<us...@predictionio.apache.org>
Date: July 3, 2019 at 11:16:43 AM
To: Wei Chen <we...@apache.org> <we...@apache.org>,
dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>, user@predictionio.apache.org
<us...@predictionio.apache.org> <us...@predictionio.apache.org>
Subject:  Re: JAVA_HOME is not set

BTW the container you use is supported by the container author, if at all.

I may have missed something but I don’t recall PIO being released by Apache
as an ASF maintained release artifact.

I wish ASF projects would publish Docker Images made for real system
integration, but IIRC PIO does not.


From: Wei Chen <we...@apache.org> <we...@apache.org>
Reply: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Date: July 2, 2019 at 5:14:38 PM
To: user@predictionio.apache.org <us...@predictionio.apache.org>
<us...@predictionio.apache.org>
Cc: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Subject:  Re: JAVA_HOME is not set

Add these steps in your docker file.
https://vitux.com/how-to-setup-java_home-path-in-ubuntu/

Best Regards
Wei

On Wed, Jul 3, 2019 at 5:06 AM Alexey Grachev <
alexey.grachev@turbinekreuzberg.com> wrote:

> Hello,
>
>
> I installed newest pio 0.14 with docker. (ubuntu 18.04)
>
> After starting pio -> I get "JAVA_HOME is not set"
>
>
> Does anyone know where in docker config I have to setup the JAVA_HOME
> env variable?
>
>
> Thanks a lot!
>
>
> Alexey
>
>
>

Re: JAVA_HOME is not set

Posted by Pat Ferrel <pa...@occamsmachete.com>.
BTW the container you use is supported by the container author, if at all.

I may have missed something but I don’t recall PIO being released by Apache
as an ASF maintained release artifact.

I wish ASF projects would publish Docker Images made for real system
integration, but IIRC PIO does not.


From: Wei Chen <we...@apache.org> <we...@apache.org>
Reply: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Date: July 2, 2019 at 5:14:38 PM
To: user@predictionio.apache.org <us...@predictionio.apache.org>
<us...@predictionio.apache.org>
Cc: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Subject:  Re: JAVA_HOME is not set

Add these steps in your docker file.
https://vitux.com/how-to-setup-java_home-path-in-ubuntu/

Best Regards
Wei

On Wed, Jul 3, 2019 at 5:06 AM Alexey Grachev <
alexey.grachev@turbinekreuzberg.com> wrote:

> Hello,
>
>
> I installed newest pio 0.14 with docker. (ubuntu 18.04)
>
> After starting pio -> I get "JAVA_HOME is not set"
>
>
> Does anyone know where in docker config I have to setup the JAVA_HOME
> env variable?
>
>
> Thanks a lot!
>
>
> Alexey
>
>
>

Re: JAVA_HOME is not set

Posted by Pat Ferrel <pa...@occamsmachete.com>.
BTW the container you use is supported by the container author, if at all.

I may have missed something but I don’t recall PIO being released by Apache
as an ASF maintained release artifact.

I wish ASF projects would publish Docker Images made for real system
integration, but IIRC PIO does not.


From: Wei Chen <we...@apache.org> <we...@apache.org>
Reply: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Date: July 2, 2019 at 5:14:38 PM
To: user@predictionio.apache.org <us...@predictionio.apache.org>
<us...@predictionio.apache.org>
Cc: dev@predictionio.apache.org <de...@predictionio.apache.org>
<de...@predictionio.apache.org>
Subject:  Re: JAVA_HOME is not set

Add these steps in your docker file.
https://vitux.com/how-to-setup-java_home-path-in-ubuntu/

Best Regards
Wei

On Wed, Jul 3, 2019 at 5:06 AM Alexey Grachev <
alexey.grachev@turbinekreuzberg.com> wrote:

> Hello,
>
>
> I installed newest pio 0.14 with docker. (ubuntu 18.04)
>
> After starting pio -> I get "JAVA_HOME is not set"
>
>
> Does anyone know where in docker config I have to setup the JAVA_HOME
> env variable?
>
>
> Thanks a lot!
>
>
> Alexey
>
>
>

Re: JAVA_HOME is not set

Posted by Wei Chen <we...@apache.org>.
Add these steps in your docker file.
https://vitux.com/how-to-setup-java_home-path-in-ubuntu/

Best Regards
Wei

On Wed, Jul 3, 2019 at 5:06 AM Alexey Grachev <
alexey.grachev@turbinekreuzberg.com> wrote:

> Hello,
>
>
> I installed newest pio 0.14 with docker. (ubuntu 18.04)
>
> After starting pio -> I get "JAVA_HOME is not set"
>
>
> Does anyone know where in docker config I have to setup the JAVA_HOME
> env variable?
>
>
> Thanks  a lot!
>
>
> Alexey
>
>
>

Re: JAVA_HOME is not set

Posted by Wei Chen <we...@apache.org>.
Add these steps in your docker file.
https://vitux.com/how-to-setup-java_home-path-in-ubuntu/

Best Regards
Wei

On Wed, Jul 3, 2019 at 5:06 AM Alexey Grachev <
alexey.grachev@turbinekreuzberg.com> wrote:

> Hello,
>
>
> I installed newest pio 0.14 with docker. (ubuntu 18.04)
>
> After starting pio -> I get "JAVA_HOME is not set"
>
>
> Does anyone know where in docker config I have to setup the JAVA_HOME
> env variable?
>
>
> Thanks  a lot!
>
>
> Alexey
>
>
>