From: Gioacchino Mazzurco Date: Mon, 12 Mar 2018 11:01:16 +0000 (+0100) Subject: Fix misleading java_path example X-Git-Tag: 1.0.3~8^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=87fdca0d905fa3dbcba997d6f93a4b4b0cc9db3b;p=fdroidserver.git Fix misleading java_path example As you can see in fdroidserver/common.py:219 for java_version in ('7', '8', '9'): the code look for java version without the 1. in front, after getting a bunch of error message that JDK could't be found, investigating the code and documentation I discovered my configuration was ignored because of this and realized the example was wrong --- diff --git a/examples/config.py b/examples/config.py index f5b088a6..4fcba228 100644 --- a/examples/config.py +++ b/examples/config.py @@ -21,7 +21,7 @@ # } # java_paths = { -# '1.8': "/usr/lib/jvm/java-8-openjdk", +# '8': "/usr/lib/jvm/java-8-openjdk", # } # Build tools version to be used