ish icon indicating copy to clipboard operation
ish copied to clipboard

Compile Java

Open gitstudent-000 opened this issue 1 year ago • 3 comments

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.

gitstudent-000 avatar Mar 08 '24 23:03 gitstudent-000

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-43 avatar Mar 09 '24 15:03 Ari-43

@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 avatar Mar 12 '24 20:03 Sadasak

@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.

LukeIvan avatar Mar 19 '24 14:03 LukeIvan