ecj: wrappers should unset JAVA_HOME

Otherwise it will work properly if package openjdk-17 is installed.

Issue https://github.com/termux/termux-packages/issues/7233
This commit is contained in:
Leonid Pliushch 2021-08-02 20:53:57 +03:00
parent 713cd06a2f
commit f1cc076b27
No known key found for this signature in database
GPG Key ID: 45F2964132545795
3 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@ TERMUX_PKG_MAINTAINER="@termux"
_VERSION=4.12
_DATE=201906051800
TERMUX_PKG_VERSION=1:${_VERSION}
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=http://archive.eclipse.org/eclipse/downloads/drops${_VERSION:0:1}/R-${_VERSION}-${_DATE}/ecj-${_VERSION}.jar
TERMUX_PKG_SHA256=69dad18a1fcacd342a7d44c5abf74f50e7529975553a24c64bce0b29b86af497
TERMUX_PKG_PLATFORM_INDEPENDENT=true

View File

@ -1,5 +1,7 @@
#!/bin/sh
unset JAVA_HOME
# -proc:none to disable annotation processing.
# -7 for java 1.7 compatibility.
dalvikvm -Xmx256m \

View File

@ -1,5 +1,7 @@
#!/bin/sh
unset JAVA_HOME
# -proc:none to disable annotation processing.
# -7 for java 1.7 compatibility.
dalvikvm -Xmx256m \