You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by blitzerr <ru...@gmail.com> on 2018/12/08 15:18:54 UTC

problem building samza

Hi guys,

I am having problem building and setting the ground running for the samza.

I get this error when I try to build the project

$./gradlew clean build

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.1'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.


$ java --version

java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

$ gradle --version

------------------------------------------------------------
Gradle 5.0
------------------------------------------------------------

Build time:   2018-11-26 11:48:43 UTC
Revision:     7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987

Kotlin DSL:   1.0.4
Kotlin:       1.3.10
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM:          11.0.1 (Oracle Corporation 11.0.1+13-LTS)
OS:           Mac OS X 10.14.1 x86_64

Re: problem building samza

Posted by blitzerr <ru...@gmail.com>.
Thanks a lot Yi. I found that online and replaced jdk11 with jdk8 and it
worked. Thanks a lot for replying. Appreciate your help

On Sun, Dec 9, 2018, 00:24 Yi Pan <nickpan47@gmail.com wrote:

> HI, blitzerr,
>
> I don't think that Samza's official build supports jdk11 yet (please see
> some earlier discussion in the dev list regarding to Openjdk11. You would
> probably still need to set your compilation jdk to Java8 and run:
> gradle -b bootstrap.gradle to setup the gradlew wrapper for Samza.
>
> -Yi
>
> On Sat, Dec 8, 2018 at 7:19 AM blitzerr <ru...@gmail.com> wrote:
>
> > Hi guys,
> >
> > I am having problem building and setting the ground running for the
> samza.
> >
> > I get this error when I try to build the project
> >
> > $./gradlew clean build
> >
> > FAILURE: Build failed with an exception.
> >
> > * What went wrong:
> > Could not determine java version from '11.0.1'.
> >
> > * Try:
> > Run with --stacktrace option to get the stack trace. Run with --info or
> > --debug option to get more log output.
> >
> >
> > $ java --version
> >
> > java --version
> > java 11.0.1 2018-10-16 LTS
> > Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
> > Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
> >
> > $ gradle --version
> >
> > ------------------------------------------------------------
> > Gradle 5.0
> > ------------------------------------------------------------
> >
> > Build time:   2018-11-26 11:48:43 UTC
> > Revision:     7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987
> >
> > Kotlin DSL:   1.0.4
> > Kotlin:       1.3.10
> > Groovy:       2.5.4
> > Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
> > JVM:          11.0.1 (Oracle Corporation 11.0.1+13-LTS)
> > OS:           Mac OS X 10.14.1 x86_64
> >
>

Re: problem building samza

Posted by Yi Pan <ni...@gmail.com>.
HI, blitzerr,

I don't think that Samza's official build supports jdk11 yet (please see
some earlier discussion in the dev list regarding to Openjdk11. You would
probably still need to set your compilation jdk to Java8 and run:
gradle -b bootstrap.gradle to setup the gradlew wrapper for Samza.

-Yi

On Sat, Dec 8, 2018 at 7:19 AM blitzerr <ru...@gmail.com> wrote:

> Hi guys,
>
> I am having problem building and setting the ground running for the samza.
>
> I get this error when I try to build the project
>
> $./gradlew clean build
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Could not determine java version from '11.0.1'.
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
>
> $ java --version
>
> java --version
> java 11.0.1 2018-10-16 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
>
> $ gradle --version
>
> ------------------------------------------------------------
> Gradle 5.0
> ------------------------------------------------------------
>
> Build time:   2018-11-26 11:48:43 UTC
> Revision:     7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987
>
> Kotlin DSL:   1.0.4
> Kotlin:       1.3.10
> Groovy:       2.5.4
> Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
> JVM:          11.0.1 (Oracle Corporation 11.0.1+13-LTS)
> OS:           Mac OS X 10.14.1 x86_64
>