CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
121–130 of 179 posts
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#122Earlier quoted context omitted.
> In all seriousness, anything that spits out canvas for a simple textbox is completely misguided about what the web is. I suspect the goal is a way to bring Java desktop applications into the browser without rewriting the application from scratch. Personally, as a fan of Blazor, I thought this was going to be a Java-based analog of Blazor; or a modernized replacement for GWT. (One flavor of Blazor compiles C# to WAS…
>as a fan of Blazor I really dislike this stuff. It's easy-ish to write, but it's like the authors of it hate everything about the web. SPAs do a lot of annoying stuff, and blazor encourages all of it. I really hope things swing back away from this grotesque tight binding between the server and the client.
TeaVM seems to be the same except it compiles Java to JavaScript which means has fast startup times.
Web browsers and their fundamental development foundations are best described as a set of mostly well meaning compromises, and so even modern browsers have been updated to support all the other disagreeable things you have mentioned, even having the ability to navigate the browser history within an SPA
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#123good job, and kodus to you guys. BUT, it's sad to see that java (as a language not VM) still exists. It's such a bad language compared to many other existing options
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#124Probably not intended for new greenfield projects
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#125Show HN: JavaFiddle – Compile, run and share Java code fully client side - https://news.ycombinator.com/item?id=35874969 - May 2023 (5 comments)
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#126With this and Ruffle, we will soon return to the days of Internet Explorer 6 but with 4k monitors! All we need now is to run ActiveX. I think BottledWine can run Windows executables in the browser, how hard would it be to simulate the ActiveX bindings?
Does anyone know a simple and portable flash and java player? A firefox 3 in a folder, or something like that. Or maybe a small linux in a virtual machine.
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#127Earlier quoted context omitted.
anyone remember dhtml, which allowed adding powerpoint-like transitions to hyperlinks?
DHTML was basically just a buzzword for the first SPA interactions. The first, real uses cases for XMLHttpRequests was sending chunks of HTML over the wire and updating the DOM via JavaScript - so “Dynamic HTML”
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#128With this and Ruffle, we will soon return to the days of Internet Explorer 6 but with 4k monitors! All we need now is to run ActiveX. I think BottledWine can run Windows executables in the browser, how hard would it be to simulate the ActiveX bindings?
When everything else fails, you can just boot up a full Windows VM: https://copy.sh/v86/?profile=windows98
That’s maybe enough layers of indirection to make ActiveX safe :-)
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#129With this and Ruffle, we will soon return to the days of Internet Explorer 6 but with 4k monitors! All we need now is to run ActiveX. I think BottledWine can run Windows executables in the browser, how hard would it be to simulate the ActiveX bindings?
THE SYSTEM. IS DOWN. THE SYSTEM. IS DOWN.
Re: CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
#130If only we could get a new version of Java for the browser. Something more of a scripting language that is not compiled but interpreted. Could probably knock out a proof of concept in a week, might call it Javascript or something... In all seriousness, anything that spits out canvas for a simple textbox is completely misguided about what the web is.
>If only we could get a new version of Java for the browser. Something more of a scripting language that is not compiled but interpreted. Could probably knock out a proof of concept in a week, might call it Javascript or something... I get the joke. It is sad though how Java didn't end up being the ubiquitous runtime for browsers... It started off so promising... Compiling source to byte code is really fast in Java (…
It still boggles my mind that Sun Microsystems fully owned the tech for the only ubiquitous browser plugin for full fledged applications with > 95% deployment and somehow screwed it up and went out of business a few years later. Despite all their engineering prowess it seems like they just couldn't make Java work seamlessly and smoothly. I'd like to think it was just a hard engineering challenge, but as someone who went all in on Java WebStart for deployment at one point and then watched them take it from a highly attractive platform to actively ruining it within a few years, I have to attribute it more to incompetence.