Closed gitstudent-000 closed 2 months ago
You may be able to do the following, which is the normal way of compiling Java programs on Linux:
# Install the JDK using apk, the Alpine Linux package manager (you only need to do this the first time)
apk add openjdk8-jdk
# Compile the Java program like you normally would
javac <yourjavafile.java>
@Ari-RERA-43 ,
It's not working with me:
ERROR: unable to select packages:
openjdk8-jdk (no such package):
required by: world[openjdk8-jdk]
@Sadasak
It's not working with me:
ERROR: unable to select packages: openjdk8-jdk (no such package): required by: world[openjdk8-jdk]
Check your /etc/apk/repositories file, the line containing the community repo ('http://apk.ish.app/v(VERSION)/community') may be commented out. Use whichever editor to remove the comment and try again.
Is it possible to compile .java file using iSH on apple iOS. If it is please explain how to.
Also is there a list of all languages that can be compiled on apple iOS using iSH.