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

OracleJDK 7: Support appears to be broken as of three days ago #7964

Closed
alexflav23 opened this issue Jun 23, 2017 · 6 comments
Closed

OracleJDK 7: Support appears to be broken as of three days ago #7964

alexflav23 opened this issue Jun 23, 2017 · 6 comments
Labels

Comments

@alexflav23
Copy link

alexflav23 commented Jun 23, 2017

Using the following setting in .travis.yml

jdk:
  - oraclejdk7

However:

Patching redis-server init script
$ jdk_switcher use oraclejdk7
Switching to Oracle JDK7 (java-7-oracle), JAVA_HOME will be set to /usr/lib/jvm/java-7-oracle

And then immediately after:

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
$ javac -J-Xmx32m -version
javac 1.8.0_131
Using Scala 2.11.8
@offa
Copy link

offa commented Jun 23, 2017

I have the same issue. It seems only Oracle JDK is broken, the other still work.

Maybe related to #7019

@dannil
Copy link

dannil commented Jun 23, 2017

Possibly related to #7884.

davidxia added a commit to spotify/docker-client that referenced this issue Jun 24, 2017
This PR fixes two issues

1. oraclejdk7 is [currently broken][1] on Travis
2. docker-engine deb seems to only be available via the Docker PPA

  [1]: travis-ci/travis-ci#7964
javornikolov added a commit to dbfit/dbfit that referenced this issue Jun 25, 2017
davidxia added a commit to spotify/dockerfile-maven that referenced this issue Jun 25, 2017
oraclejdk7 is currently broken on Travis: travis-ci/travis-ci#7964
javornikolov added a commit to dbfit/dbfit that referenced this issue Jun 28, 2017
@BanzaiMan BanzaiMan added the java label Jun 29, 2017
@alexflav23
Copy link
Author

alexflav23 commented Jul 9, 2017

Hi

The jdk_switcher seems to work now, however fails to export the correct JVM path!

$ jdk_switcher use oraclejdk7
Switching to Oracle JDK7 (java-7-oracle), JAVA_HOME will be set to /usr/lib/jvm/java-7-oracle
update-java-alternatives: directory does not exist: /usr/lib/jvm/java-7-oracle
Updating sbt

This is still not fixed as a result!

@khmarbaise
Copy link

Hi,
exactly the same issue here:

Switching to Oracle JDK7 (java-7-oracle), JAVA_HOME will be set to /usr/lib/jvm/java-7-oracle
update-java-alternatives: directory does not exist: /usr/lib/jvm/java-7-oracle

Changed temporarily to jdk 8 which works...

It would be great if this could be fixed to keep JDK 7 working...

Thanks for that great platform...

Kind regards
Karl Heinz Marbaise

@iriberri
Copy link

Please, see #7884 (comment). I'm closing this as a duplicate.

oraclejdk7 is unfortunately no longer available in Trusty after our latest updates, since we can no longer support oraclejdk7 on our recent build images due to Oracle's withdrawal. See: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html

If this is an option for you, I'd recommend switching to jdk: openjdk7, which is available in the new Trusty images.

@khmarbaise
Copy link

Using jdk: openjdk7 as alternative is very good. Thanks for your answer.

anistor added a commit to infinispan/protostream that referenced this issue Oct 3, 2017
jcgay added a commit to jcgay/gradle-notifier that referenced this issue Oct 7, 2017
RollinJin pushed a commit to IBM-Cloud/gp-java-tools that referenced this issue Nov 15, 2017
oraclejdk7 is no longer available in Travis, replace it with openjdk7
travis-ci/travis-ci#7964
OpenRefine/OpenRefine#1223
valfirst added a commit to valfirst/slf4j-test that referenced this issue Nov 29, 2017
travis-ci/travis-ci#7964 (comment):
"oraclejdk7 is unfortunately no longer available in Trusty after our latest updates, since we can no longer support oraclejdk7 on our recent build images due to Oracle's withdrawal. See: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html

If this is an option for you, I'd recommend switching to jdk: openjdk7, which is available in the new Trusty images."
blsemo added a commit to blsemo/ed25519-java that referenced this issue Nov 30, 2017
…, and add command to pull openjdk6 (no longer installed by default, see travis-ci/travis-ci#8199)
hbrands added a commit to glazedlists/glazedlists that referenced this issue Dec 2, 2017
valfirst added a commit to valfirst/saucerest-java that referenced this issue Feb 3, 2018
travis-ci/travis-ci#7964 (comment):
"oraclejdk7 is unfortunately no longer available in Trusty after our latest updates, since we can no longer support oraclejdk7 on our recent build images due to Oracle's withdrawal. See: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html

If this is an option for you, I'd recommend switching to jdk: openjdk7, which is available in the new Trusty images."
yfangsl pushed a commit to saucelabs/saucerest-java that referenced this issue Feb 6, 2018
travis-ci/travis-ci#7964 (comment):
"oraclejdk7 is unfortunately no longer available in Trusty after our latest updates, since we can no longer support oraclejdk7 on our recent build images due to Oracle's withdrawal. See: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html

If this is an option for you, I'd recommend switching to jdk: openjdk7, which is available in the new Trusty images."
shtrom added a commit to Learnosity/learnosity-sdk-java that referenced this issue May 29, 2018
Workaround travis-ci/travis-ci#7964.

I also documented this here [0].

[0] https://blog.narf.ssji.net/2018/05/installing-old-oracle-jdk-in-travis-ci/

Signed-off-by: Olivier Mehani <olivier.mehani@learnosity.com>
shtrom added a commit to Learnosity/learnosity-sdk-java that referenced this issue May 31, 2018
Workaround travis-ci/travis-ci#7964.

I also documented this here [0].

[0] https://blog.narf.ssji.net/2018/05/installing-old-oracle-jdk-in-travis-ci/

Signed-off-by: Olivier Mehani <olivier.mehani@learnosity.com>
shtrom added a commit to Learnosity/learnosity-sdk-java that referenced this issue May 31, 2018
Workaround travis-ci/travis-ci#7964.

I also documented this here [0].

[0] https://blog.narf.ssji.net/2018/05/installing-old-oracle-jdk-in-travis-ci/

Signed-off-by: Olivier Mehani <olivier.mehani@learnosity.com>
shtrom added a commit to Learnosity/learnosity-sdk-java that referenced this issue Jun 4, 2018
Workaround travis-ci/travis-ci#7964.

I also documented this here [0].

[0] https://blog.narf.ssji.net/2018/05/installing-old-oracle-jdk-in-travis-ci/

Signed-off-by: Olivier Mehani <olivier.mehani@learnosity.com>
sentinelt added a commit to atteo/evo-inflector that referenced this issue Aug 4, 2018
See travis-ci/travis-ci#7964

Change-Id: Iab7e23d63779148e6a5530234aad75f4a7ed4504
sentinelt added a commit to atteo/evo-inflector that referenced this issue Aug 4, 2018
See travis-ci/travis-ci#7964

Change-Id: Iab7e23d63779148e6a5530234aad75f4a7ed4504
martijndwars added a commit to web-push-libs/webpush-java that referenced this issue Sep 4, 2018
asfgit pushed a commit to apache/commons-dbutils that referenced this issue Jan 5, 2020
bhuesemann pushed a commit to bhuesemann/dbfit that referenced this issue Aug 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants