Skip to content

Commit e3222fd

Browse files
committed
Upload file
1 parent 2e9f5b3 commit e3222fd

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

-160 Bytes
Binary file not shown.

pio/src/main/assets/module/bin/java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
#!/data/data/com.tool.tree/files/home/bin/bash
2+
3+
if [ "$($TERMUX/bin/java -version 2>&1 | grep -cm1 'java.lang.OutOfMemoryError')" == 1 ];then
4+
$TERMUX/bin/java
5+
echo "Java is corrupted and cannot be used!" >&2
6+
exit 1
7+
fi
8+
29
exec $TERMUX/bin/java \
310
-Dfile.encoding=UTF-8 \
411
-Xms100m \

0 commit comments

Comments
 (0)