javafx 8 - Can you specify minor jdk version for travis ci -


is possible specify minor version of jdk jobs running on travis? have javafx project failing because jdk 1.8.0_31 being used perform build project uses classes shipped in java 1.8.0_40 (specifically alert , spinner).

currently .travis.yml file looks below:

language: java  jdk:   - oraclejdk8 

here's link failed build in case it's useful.

i got working. solution not reccommended uses linuxbrew install oracle jdk 8.0_40. zrcoder on github ended .travis.yml:

language: java  branches:   only:   - master  notifications:   email: false  before_install:     - rm -rf ~/.linuxbrew     - yes | ruby -e "$(curl -fssl https://raw.githubusercontent.com/homebrew/linuxbrew/go/install)"     - export path="$home/.linuxbrew/bin:$path"     - export manpath="$home/.linuxbrew/share/man:$manpath"     - export infopath="$home/.linuxbrew/share/info:$infopath"     - brew install jdk     - export java_home=/home/travis/.linuxbrew/cellar/jdk/1.8.0-40 

although works, travis-ci should updated next month, update config shorter build times.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -