Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed: JAVA_HOME is set to an invalid directory #55

Open
patriknw opened this issue Sep 14, 2020 · 3 comments
Open

failed: JAVA_HOME is set to an invalid directory #55

patriknw opened this issue Sep 14, 2020 · 3 comments

Comments

@patriknw
Copy link
Member

https://travis-ci.org/github/akka/akka-grpc-quickstart-scala.g8/jobs/726634401

ERROR: JAVA_HOME is set to an invalid directory: /home/travis/.jabba/jdk/adopt@1.11.0-7
543
544Please set the JAVA_HOME variable in your environment to match the
545location of your Java installation.
546
547The command "sbt new file://$PWD --name=hello-world-grpc --force && pushd hello-world-grpc &&  ./gradlew --console=plain build" exited with 1.
@seglo
Copy link

seglo commented Sep 14, 2020

@seglo
Copy link

seglo commented Sep 15, 2020

@ignasi35
Copy link
Contributor

https://travis-ci.org/github/akka/akka-grpc-quickstart-scala.g8/jobs/728626266#L257

That build also failed another jobs with:

~/build/akka/akka-grpc-quickstart-scala.g8/hello-world-grpc ~/build/akka/akka-grpc-quickstart-scala.g8

The JAVA_HOME environment variable is not defined correctly

This environment variable is needed to run this program

NB: JAVA_HOME should point to a JDK not a JRE

See https://travis-ci.org/github/akka/akka-grpc-quickstart-scala.g8/jobs/728626264#L256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants