choose the most recent available version of Java

This came about testing on OSX, where there are often multiple versions of
the JDK installed.  This was choosing the oldest version.  It should
choose the most recent version.
This commit is contained in:
Hans-Christoph Steiner 2017-10-20 11:35:48 +02:00
parent 43b990505d
commit e0df6d2479
3 changed files with 75 additions and 25 deletions

View file

@ -75,6 +75,8 @@ install:
sudo pip3 install --quiet --editable . ;
sudo rm -rf fdroidserver.egg-info;
ls -l /System/Library/Java/JavaVirtualMachines || true;
ls -l /Library/Java/JavaVirtualMachines || true;
echo $PATH;
echo $JAVA_HOME;
jenv versions;