Java Compilation on CheerpX and not CheerpJ
Hey i'm new to using Cheerpx, and I think its super cool! I've been playing around with my fork of https://github.com/leaningtech/webvm and seeing how I can change the Dockerfile. My current objective is to have Java work on my container. While I could just use Cheerpj, I wanted to be able to support user input through Scanner (and as far as I know, this isn't supported with CheerpJ) and also have more file flexibility. Has anyone figured out how to do it?
Here's my Dockerfile:
When the vm is deployed and I run
java -version
in the browser, I get this message:
Running javac
hangs indefinitely. I would very much appreciate help!GitHub
GitHub - leaningtech/webvm: Virtual Machine for the Web
Virtual Machine for the Web. Contribute to leaningtech/webvm development by creating an account on GitHub.
1 Reply
Hi, both
java
and javac
can be certainly be made to work, but they are using some syscalls that are not yet supported by CheerpX. I will add this problem to our internal bug tracker and I might recommend for you to create a public GitHub issue so that you can be notified when the problem is eventually fixed.
Please understand that getting to work is not a high priority for us, since we provide CheerpJ that is a much better solution to this problem.