Hi,
I am trying to use the following script in travis.yml file, but travis still take jdk1.8
Blockquote
language: java
sudo: false
dist: xenial
jdk: zulu11.31.11-ca-fx-jdk11.0.3-linux_x64
before_script:
- unset -v _JAVA_OPTIONS
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
jobs:
include:- stage: Downloading Azul zulu jdk11 and jfx download
env: JDK=zulu11.31.11-ca-fx-jdk11.0.3-linux_x64
script: source install-jdk.sh --url https://cdn.azul.com/zulu/bin/zulu11.31.11-ca-fx-jdk11.0.3-linux_x64.tar.gz
- stage: Downloading Azul zulu jdk11 and jfx download
after_script:
- echo JAVA_HOME = {JAVA_HOME}
- echo PATH = {PATH}
- ls ${JAVA_HOME}
- java -version
Blockquote
please suggest me how to use it in Travis.
Thanks you in advance.
-Ab