codeapp icon indicating copy to clipboard operation
codeapp copied to clipboard

Java input

Open Bschoy opened this issue 2 years ago • 8 comments

i just now realized that input needs to be provided before running the program. This links to an issue i previously opened concerning a local copy of openJDK to run Java locally, but even if server-side execution is the only way would it not be possible to ask for input in a behavior identical to a desktop environment (meaning not upfront / before running the program)?

Bschoy avatar Jan 22 '23 21:01 Bschoy

though a local distribution of Java could render this issue meaningless / solved.

Bschoy avatar Jan 22 '23 21:01 Bschoy

though a local distribution of Java could render this issue meaningless / solved.

if not something similar to what replit did could be done, they use server-side execution but ask for input in a desktop like manner

Bschoy avatar Jan 22 '23 21:01 Bschoy

Thank you for the suggestions. I intend to bring a local runtime of Java to Code App.

These projects should be good references:

  • https://github.com/PojavLauncherTeam/openjdk-multiarch-jdk8u
  • https://github.com/PojavLauncherTeam/jdk17u

bummoblizard avatar Jan 23 '23 09:01 bummoblizard

Thank you for the suggestions. I intend to bring a local runtime of Java to Code App.

These projects should be good references:

  • https://github.com/PojavLauncherTeam/openjdk-multiarch-jdk8u

  • https://github.com/PojavLauncherTeam/jdk17u

these both look very promising, glad you're looking into it. Thanks for your hard work and quick responsiveness.

Bschoy avatar Jan 23 '23 12:01 Bschoy

@bummoblizard would you happen to be able to guess an estimated date after which local Java support should be realized?

Bschoy avatar Jan 26 '23 14:01 Bschoy

@bummoblizard would you happen to be able to guess an estimated date after which local Java support should be realized?

Hi. I'm focusing on fixing the existing issues. I will work on it after that.

bummoblizard avatar Jan 26 '23 18:01 bummoblizard

@bummoblizard would you happen to be able to guess an estimated date after which local Java support should be realized?

Hi. I'm focusing on fixing the existing issues. I will work on it after that.

Appreciate it, i found this App that has a local Java 9 runtime that works. (I have tested it without internet) To use it you have to pay around 3€ but it works.

I'm not fond of the User experience and UI at all but it still could end up helping you implement a local Java runtime yourself.

https://apps.apple.com/app/id992268206

Bschoy avatar Feb 03 '23 13:02 Bschoy

Local OpenJDK is added in https://github.com/thebaselab/codeapp/commit/39155744844ad472f0b79c714230a8691a7832bb. However, interactive input is still not supported.

bummoblizard avatar Jan 07 '24 06:01 bummoblizard

Fixed in https://github.com/thebaselab/codeapp/issues/1036

bummoblizard avatar Apr 29 '24 12:04 bummoblizard