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

Travis CI ERROR: JAVA_HOME is set to an invalid directory #1182

Closed
mockitoguy opened this issue Sep 1, 2017 · 1 comment
Closed

Travis CI ERROR: JAVA_HOME is set to an invalid directory #1182

mockitoguy opened this issue Sep 1, 2017 · 1 comment

Comments

@mockitoguy
Copy link
Member

Travis CI builds started failing with "ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-7-oracle". Example failure.

$ ./gradlew build idea -s -PcheckJava6Compatibility && ./gradlew ciPerformRelease
ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-7-oracle
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

It looks like there was some incompatible change rolled out in Travis CI.

@TimvdLippe
Copy link
Contributor

This was fixed in #1184

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

No branches or pull requests

2 participants