LT
Leaning TechnologiesJacobDK123
Accesing the standard out and standard error stream from the Java process
How do I from javascript access the output streams from the started Java process?
apignotti•107d ago
An API for this is in our roadmap, but it's not currently available. It can be achieved by observing the changes to the
console
element where all the output is written.
This was discussed here: https://discord.com/channels/988743885121548329/1103695759779573850/1197282830485569606apignotti•107d ago
We use this technique for our JavaFiddle, and the source is available: https://github.com/leaningtech/javafiddle
GitHub
GitHub - leaningtech/javafiddle: Build, run, and share Java snippet...
Build, run, and share Java snippets in the browser - GitHub - leaningtech/javafiddle: Build, run, and share Java snippets in the browser
jeffreportmill•107d ago
Here's another example of a class that subclasses java.lang.Process and returns System.out as an input stream:
jeffreportmill•107d ago
GitHub
SnapCJ/src/snapcj/CJProcess.java at main · reportmill/SnapCJ
A SnapKit adapter for CheerpJ. Contribute to reportmill/SnapCJ development by creating an account on GitHub.
The home of Cheerp, CheerpJ, and CheerpX. Chat about virtual machines, compilers, and WebAssembly!
744Members
View on DiscordWant results from more Discord servers?
More PostsAny plan on adding internet access without Tailscale?Hi there ! Do you plan on adding internet access without the need to install Tailscale etc, that wour[((0 + c) | 0)] is not a function when instantiating objectHello, thank you all for developing CheerpJ, it is an impressive tool! I am playing around with tryiI'm always looking for the URL of the latest build of cj3loader.js by searching articlesI'm always looking for the URL of the latest build of cj3loader.js by searching articles, but is theDifferent behavior between extension and cj3loaderWe have a java applet that runs perfectly when using the CheerpJ browser extension, but fails to fulCan I try CheerpX?I know it's not fully ready yet, but I think it's fine for my use cases in its current staterunning java decompiler in browser, weird error(copy-pasting from #cheerpj3 since i noticed this channel existed)
i'm trying to run the procyon javAccessibility of Java applicationsHi team, I noticed that apps running on CheerpJ are not accessible to people with disabilities. Thisjnlp launch verification fails with 64 bit swt librariesThe launch has below error.
Java.lang.unsatisfiesLinkError: cannot load 64-bit SWT libraries on 32-bhow to debug why the jar main class is not loadingI am trying to convert old jnlp client to html format. I followed the documentation and used cheerpjTrying to get CheerpJ to actually launch a programI'm trying to get CheerpJ to run UPRandomizer in a browser, but I can't figure out how to get it to