apache ant can not execute.
- Dominant language
- C
- Stars
- 20.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I’m @djdjdjek
I feel this software is very amazing, a linux on iPad!
I want to run java / javac on ish, by using ant to compile my java code.
I have download ish app from app store. And install open jdk 1.8, then execute 'java -mx512m -version',
```
apk search openjdk
apk add openjdk8
java -mx512m -version
javac -version
```
write below into /etc/profile.d/profile.sh
```
export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
export PATH="$JAVA_HOME/bin:${PATH}"
```
I can get the version message.
But when I install apache ant , and execute it.
```
wget https://dlcdn.apache.org//ant/binaries/apache-ant-1.10.12-bin.tar.gz
tar -zxvf apache-ant-1.10.12-bin.tar.gz
mv apache-ant-1.10.12 ant
ANT_HOME=/root/downloads/ant
PATH=$PATH:${ANT_HOME}/bin
ant
```
I will get this message :
```
We cannot run Java, please ensure you have Java installed.
We have tried to execute /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -mx128m but failed.
If you have installed Java in a unusual place you can set JAVA_HOME
to the directory containing the Java installation.
```
I am very sure I have install java , by the way, if I want to run java, I must add -mx128m , because the default memory is 6M .
Does someone can help me to solve this problem. Please...I really want to use ish for develop.
My ipad is ipad mini5 64G wifi.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported `openjdk8`, `JAVA_HOME`, `java -mx128m -version`, and `ant` commands from the issue. Trace how the Ant launcher invokes `/usr/lib/jvm/java-1.8-openjdk/jre/bin/java` and determine whether iSH can support that invocation; done means identifying a reproducible fix or documenting the compatibility limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, java, linux
- Domain
- build-system, cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100