]> git.gag.com Git - fw/altos/commitdiff
altosdroid: Use configured JVM version for building android bits master
authorKeith Packard <keithp@keithp.com>
Wed, 27 Aug 2025 05:25:01 +0000 (22:25 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Aug 2025 05:25:01 +0000 (22:25 -0700)
Make sure we use the same JVM everywhere. For now, openjdk 8 and 11
appear to work.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/Makefile.am

index f9f69662b9e25541ff0a9b65a1c1307170f3141b..01dce50ebfe2819fb2f3e561aeb2d85000964842 100644 (file)
@@ -42,7 +42,7 @@ DRAWABLES=\
     $(DRAWABLE_DIR)/greenled.png \
     $(DRAWABLE_DIR)/grayled.png
 
-GRADLEW=JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 bash ./gradlew --no-daemon
+GRADLEW=JAVA_HOME=@JVM@ bash ./gradlew --no-daemon
 
 LAYOUTS=$(LAYOUT_DIR)/*.xml
 MENUS=$(MENU_DIR)/*.xml