# Java

**URL:** https://travis-ci.community/c/languages/java/46.md?page=2

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

**Page:** 3

---

## [Install of oraclejdk11 is failing (11.0.3+12)](https://travis-ci.community/t/install-of-oraclejdk11-is-failing-11-0-3-12/3887)

<div class="topic-metadata">

**Author:** [@sormuras](https://travis-ci.community/u/sormuras)\
**Replies:** 2\
**Last updated:** [June 27, 2019, 8:24am UTC](https://travis-ci.community/t/install-of-oraclejdk11-is-failing-11-0-3-12/3887 "2019-06-27T08:24:56Z")

</div>

Oracle updated their JDK 11 distro to 11.0.3 – this is reflected in install-jdk.sh version 2019-06-25. @BanzaiMan et al, please update Travis’ copy of the script. Thanks. Failing build using 11.0.2 URL: https://travis-…

---

## [Oracle JDK11 build error](https://travis-ci.community/t/oracle-jdk11-build-error/1865)

<div class="topic-metadata">

**Author:** [@nzomkxia](https://travis-ci.community/u/nzomkxia)\
**Replies:** 10\
**Last updated:** [June 25, 2019, 4:59pm UTC](https://travis-ci.community/t/oracle-jdk11-build-error/1865 "2019-06-25T16:59:31Z")

</div>

what can I do to fix this？https://travis-ci.org/apache/incubator-dubbo-ops/jobs/480200795

---

## [Travis CI doesn't install Ant while using language: java](https://travis-ci.community/t/travis-ci-doesnt-install-ant-while-using-language-java/3856)

<div class="topic-metadata">

**Author:** [@KrzysztofSzewczyk](https://travis-ci.community/u/KrzysztofSzewczyk)\
**Replies:** 3\
**Last updated:** [June 23, 2019, 11:40am UTC](https://travis-ci.community/t/travis-ci-doesnt-install-ant-while-using-language-java/3856 "2019-06-23T11:40:32Z")

</div>

My build is failing (link), because Ant isn’t installed. My build script is rather simple: language: java What I’m missing? It’s probably pretty broad question. I’ve read a few wiki pages about it, and I was pretty muc…

---

## [OpenJDK 14 -ea+1 just arrived "honey pot topic"](https://travis-ci.community/t/openjdk-14-ea-1-just-arrived-honey-pot-topic/3729)

<div class="topic-metadata">

**Author:** [@sormuras](https://travis-ci.community/u/sormuras)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 6:28pm UTC](https://travis-ci.community/t/openjdk-14-ea-1-just-arrived-honey-pot-topic/3729 "2019-06-14T18:28:10Z")

</div>

Let’s see how install-jdk.sh plays along with two “ea” versions available on https://jdk.java.net/14/

---

## [Install of openjdk11 is failing](https://travis-ci.community/t/install-of-openjdk11-is-failing/1914)

<div class="topic-metadata">

**Author:** [@rdeltour](https://travis-ci.community/u/rdeltour)\
**Replies:** 10\
**Last updated:** [June 13, 2019, 10:02pm UTC](https://travis-ci.community/t/install-of-openjdk11-is-failing/1914 "2019-06-13T22:02:29Z")

</div>

The installation of latest openjdk11 (version 11.0.2) is failing: $ export JAVA\_HOME=~/openjdk11 $ export PATH="$JAVA\_HOME/bin:$PATH" $ ~/bin/install-jdk.sh --target "/home/travis/openjdk11" --workspace "/home/travis/.c…

---

## [Using jdk "openjdk8" brings javac 9.0.1](https://travis-ci.community/t/using-jdk-openjdk8-brings-javac-9-0-1/3371)

<div class="topic-metadata">

**Author:** [@phax](https://travis-ci.community/u/phax)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 1:55pm UTC](https://travis-ci.community/t/using-jdk-openjdk8-brings-javac-9-0-1/3371 "2019-06-03T13:55:04Z")

</div>

Hi, I am confused. Source of confusion: Travis CI - Test and Deploy with Confidence When using jdk option “openjdk8” in “trusty” I receive the following build information: $ java -Xmx32m -version openjdk version “1.…

---

## [Maven-jaxb2-plugin - differences between trusty and xenial?](https://travis-ci.community/t/maven-jaxb2-plugin-differences-between-trusty-and-xenial/3216)

<div class="topic-metadata">

**Author:** [@phax](https://travis-ci.community/u/phax)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 8:29am UTC](https://travis-ci.community/t/maven-jaxb2-plugin-differences-between-trusty-and-xenial/3216 "2019-05-28T08:29:45Z")

</div>

Hi, I’m struggeling with unexpected issues with the maven-jaxb2-plugin. I changed from “oraclejdk8” to “openjdk8”, which lead to a failure on “openjdk11”: https://travis-ci.org/phax/ph-ubl/builds/525294123 Therefore I…

---

## [Install of openjdk13-ea is failing (again)](https://travis-ci.community/t/install-of-openjdk13-ea-is-failing-again/3269)

<div class="topic-metadata">

**Author:** [@sormuras](https://travis-ci.community/u/sormuras)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 6:17am UTC](https://travis-ci.community/t/install-of-openjdk13-ea-is-failing-again/3269 "2019-05-03T06:17:48Z")

</div>

@dominic @BanzaiMan et al – please update Travis CI’s copy of install-jdk.sh to version 2019-05-02. It works from OpenJDK 9 to 13 (again): https://travis-ci.org/sormuras/sormuras.github.io/builds/527470511 Oracle fixed …

---

## [OpenJDK 12 no longer usable](https://travis-ci.community/t/openjdk-12-no-longer-usable/2718)

<div class="topic-metadata">

**Author:** [@DanySK](https://travis-ci.community/u/DanySK)\
**Replies:** 22\
**Last updated:** [April 29, 2019, 8:38pm UTC](https://travis-ci.community/t/openjdk-12-no-longer-usable/2718 "2019-04-29T20:38:40Z")

</div>

openjdk12, which used to work flawlessly, abruptly stopped working yesterday. I guess it might be due to the official release. When configured for running on openjdk12, the build now fails with: Installing openjdk12 $ …

---

## [OpenJDK 10 cannot be installed](https://travis-ci.community/t/openjdk-10-cannot-be-installed/3220)

<div class="topic-metadata">

**Author:** [@mduft](https://travis-ci.community/u/mduft)\
**Replies:** 3\
**Last updated:** [April 29, 2019, 5:37pm UTC](https://travis-ci.community/t/openjdk-10-cannot-be-installed/3220 "2019-04-29T17:37:39Z")

</div>

Seems that since today OpenJDK 10 can no longer be installed… $ ~/bin/install-jdk.sh --target “/home/travis/openjdk10” --workspace “/home/travis/.cache/install-jdk” --feature “10” --license “GPL” --cacerts install-jdk.…

---

## [Error installing open jdk 10 fails](https://travis-ci.community/t/error-installing-open-jdk-10-fails/3198)

<div class="topic-metadata">

**Author:** [@axel1200](https://travis-ci.community/u/axel1200)\
**Replies:** 1\
**Last updated:** [April 29, 2019, 3:54pm UTC](https://travis-ci.community/t/error-installing-open-jdk-10-fails/3198 "2019-04-29T15:54:59Z")

</div>

See https://travis-ci.org/FAForever/downlords-faf-client/builds/525355848 . Used to work before and just broke lately. No idea what happened there…

---

## [Issue with "BCL licensed downloads are only supported up to JDK 11, but got: 12"](https://travis-ci.community/t/issue-with-bcl-licensed-downloads-are-only-supported-up-to-jdk-11-but-got-12/3178)

<div class="topic-metadata">

**Author:** [@Nicofisi](https://travis-ci.community/u/Nicofisi)\
**Replies:** 4\
**Last updated:** [April 28, 2019, 11:48am UTC](https://travis-ci.community/t/issue-with-bcl-licensed-downloads-are-only-supported-up-to-jdk-11-but-got-12/3178 "2019-04-28T11:48:00Z")

</div>

Hi everyone - the .travis.yml of my project is the following: language: java jdk: oraclejdk12 The problem is, the build stops with this error: BCL licensed downloads are only supported up to JDK 11, but got: 12 The co…

---

## [Jobs timing out on OpenJDK11 when generating Javadoc](https://travis-ci.community/t/jobs-timing-out-on-openjdk11-when-generating-javadoc/3120)

<div class="topic-metadata">

**Author:** [@dannil](https://travis-ci.community/u/dannil)\
**Replies:** 1\
**Last updated:** [April 25, 2019, 6:28am UTC](https://travis-ci.community/t/jobs-timing-out-on-openjdk11-when-generating-javadoc/3120 "2019-04-25T06:28:28Z")

</div>

As can be seen by this job (and all the other jobs after) the generation of Javadoc seems to hang the entire build when run on OpenJDK 11. This worked on the previous build for that branch which was based on the same com…

---

## [Build failed bc compile fileTree(dir: 'libs', include: \['\*.jar'\])](https://travis-ci.community/t/build-failed-bc-compile-filetree-dir-libs-include-jar/2807)

<div class="topic-metadata">

**Author:** [@11510746](https://travis-ci.community/u/11510746)\
**Replies:** 0\
**Last updated:** [March 27, 2019, 5:06am UTC](https://travis-ci.community/t/build-failed-bc-compile-filetree-dir-libs-include-jar/2807 "2019-03-27T05:06:27Z")

</div>

travis-ci build failed since it didn’t load the local jar. How to resolve it ? My travis file language: java jdk: oraclejdk8 My gradle file apply plugin: 'java' sourceCompatibility = 1.8 repositories { mavenCentra…

---

## [Eclipse OpenJ9 support](https://travis-ci.community/t/eclipse-openj9-support/2262)

<div class="topic-metadata">

**Author:** [@headius](https://travis-ci.community/u/headius)\
**Replies:** 7\
**Last updated:** [February 21, 2019, 6:55pm UTC](https://travis-ci.community/t/eclipse-openj9-support/2262 "2019-02-21T18:55:55Z")

</div>

Eclipse OpenJ9 has been open source for a couple years now, and has builds for all the platforms TravisCI supports. We (JRuby project) would like to start running CI against OpenJ9. There are at least two issues on GitH…

---

## [Select your own mvn/gradle version](https://travis-ci.community/t/select-your-own-mvn-gradle-version/2131)

<div class="topic-metadata">

**Author:** [@mouyang](https://travis-ci.community/u/mouyang)\
**Replies:** 0\
**Last updated:** [February 5, 2019, 5:35pm UTC](https://travis-ci.community/t/select-your-own-mvn-gradle-version/2131 "2019-02-05T17:35:27Z")

</div>

Maven builds default to version 3.5.2; the most recent version is 3.6.0. It would be nice to select your own version whether you team has run ahead of what is available in Travis, or you haven’t had an opening to catch …

---

## [Observation with changing dist from trusty to xenial](https://travis-ci.community/t/observation-with-changing-dist-from-trusty-to-xenial/2124)

<div class="topic-metadata">

**Author:** [@saketanisha](https://travis-ci.community/u/saketanisha)\
**Replies:** 1\
**Last updated:** [February 5, 2019, 4:03pm UTC](https://travis-ci.community/t/observation-with-changing-dist-from-trusty-to-xenial/2124 "2019-02-05T16:03:33Z")

</div>

Last green build with trusty - here Current failure build with xenial - here Hey There - We recently toggled our build env dist to xenial and have an observation that our tests bailing out randomly. On xenial install…

---

## [Jdbi3 maven build with spring-core 5.x consistently times out](https://travis-ci.community/t/jdbi3-maven-build-with-spring-core-5-x-consistently-times-out/2021)

<div class="topic-metadata">

**Author:** [@TheRealMarnes](https://travis-ci.community/u/TheRealMarnes)\
**Replies:** 1\
**Last updated:** [January 27, 2019, 10:32pm UTC](https://travis-ci.community/t/jdbi3-maven-build-with-spring-core-5-x-consistently-times-out/2021 "2019-01-27T22:32:27Z")

</div>

I’ve been trying since over a month ago to add a maven module to jdbi for Spring 5 support. We already have Spring 4 integration. The build works fine locally and the integration itself isn’t much more than just an added…

---

## [Install of oraclejdk11 is failing](https://travis-ci.community/t/install-of-oraclejdk11-is-failing/1856)

<div class="topic-metadata">

**Author:** [@lukehutch](https://travis-ci.community/u/lukehutch)\
**Replies:** 12\
**Last updated:** [January 18, 2019, 10:22pm UTC](https://travis-ci.community/t/install-of-oraclejdk11-is-failing/1856 "2019-01-18T22:22:16Z")

</div>

Install of oraclejdk11 has been failing all day with: Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/11.0.1+13/90cf5d8f270a4347a95050320eef3fb7/jdk-11.0.1\_linux-x64\_bin.tar.gz... The command "~/bin/ins…

---

## [Java 8 failing (download failed Oracle JDK 8 is NOT installed)](https://travis-ci.community/t/java-8-failing-download-failed-oracle-jdk-8-is-not-installed/1894)

<div class="topic-metadata">

**Author:** [@carlosalberto](https://travis-ci.community/u/carlosalberto)\
**Replies:** 1\
**Last updated:** [January 17, 2019, 2:50am UTC](https://travis-ci.community/t/java-8-failing-download-failed-oracle-jdk-8-is-not-installed/1894 "2019-01-17T02:50:04Z")

</div>

Using Java 8 (oraclejdk8, oracle-java8-installer) is failing as shown here: https://travis-ci.org/opentracing/opentracing-java/jobs/480602882 The problem seems to be the Java 8 SDK not being available for download from …

---

## [Please do not fail jobs with deprecated versions of Oracle / Open JDKs](https://travis-ci.community/t/please-do-not-fail-jobs-with-deprecated-versions-of-oracle-open-jdks/1832)

<div class="topic-metadata">

**Author:** [@aharonha](https://travis-ci.community/u/aharonha)\
**Replies:** 1\
**Last updated:** [January 14, 2019, 2:44pm UTC](https://travis-ci.community/t/please-do-not-fail-jobs-with-deprecated-versions-of-oracle-open-jdks/1832 "2019-01-14T14:44:03Z")

</div>

Hi When a build was declared as language: java and jdk: oraclejdk7 or jdk: oraclejdk10 the build should be marked as “skipped” or something similar. For example this build shows the error. on the other hand this Pull …

---

## [Caching of OpenJDK installations](https://travis-ci.community/t/caching-of-openjdk-installations/1721)

<div class="topic-metadata">

**Author:** [@sormuras](https://travis-ci.community/u/sormuras)\
**Replies:** 2\
**Last updated:** [January 10, 2019, 3:16pm UTC](https://travis-ci.community/t/caching-of-openjdk-installations/1721 "2019-01-10T15:16:57Z")

</div>

Am I reading the “new” command line arguments correctly, that an installation of an OpenJDK is cached? $ export JAVA\_HOME=~/openjdk11 $ export PATH="$JAVA\_HOME/bin:$PATH" $ ~/bin/install-jdk.sh --target "/home/travis/op…

---

## [Detect Gradle from build.gradle.kts file](https://travis-ci.community/t/detect-gradle-from-build-gradle-kts-file/1034)

<div class="topic-metadata">

**Author:** [@lorenzleutgeb](https://travis-ci.community/u/lorenzleutgeb)\
**Replies:** 0\
**Last updated:** [November 23, 2018, 2:05pm UTC](https://travis-ci.community/t/detect-gradle-from-build-gradle-kts-file/1034 "2018-11-23T14:05:38Z")

</div>

Hi! With the advent of Gradle 5.0 you will have people using build.gradle.kts instead of build.gradle. The logic in https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/shared/jvm.rb should accou…

---

## [Cannot run Gradle JAR task](https://travis-ci.community/t/cannot-run-gradle-jar-task/762)

<div class="topic-metadata">

**Author:** [@burdoto](https://travis-ci.community/u/burdoto)\
**Replies:** 1\
**Last updated:** [November 8, 2018, 11:19am UTC](https://travis-ci.community/t/cannot-run-gradle-jar-task/762 "2018-11-08T11:19:57Z")

</div>

Whenever I try to run gradle tests, gradle has to create jar files. The issue with this is, that I have defined a custom output directory within my build.gradle: jar { archiveName = "CrystalShard-${project.…

[Previous page](https://travis-ci.community/c/languages/java/46.md?page=1)
