Show HN: CheerpJ JavaFiddle – Run Java in the browser
11–20 of 20 posts
Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#12Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#13Now you can just shove this in electron and have java apps everywhere again!
Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#14As the primary developer of a large sophisticated Javascript app (https://shaxpir.com), working with Javascript is an ongoing nuisance, and I'd love to switch the majority of my development to a type-safe language.
I've been considering a switch to TypeScript, but with 17 years of experience as a back-end Java developer, my natural first-choice of language is Java.
But this is a modern webapp, so I'm not really interested in seeing Console/Swing/AWT demos. I'm much more interested in seeing demos that integrate Java code with native Javascript dependencies, especially around DOM manipulation and browser event handling.
I want to rewrite all my own business logic in Java, while continuing to integrate with my existing dependencies in the browser (JQuery, Bootstrap, Quill, etc).
A demo like that would be very compelling to me!
Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#15Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#16Awesome! I'm very excited about this... As the primary developer of a large sophisticated Javascript app ( https://shaxpir.com ), working with Javascript is an ongoing nuisance, and I'd love to switch the majority of my development to a type-safe language. I've been considering a switch to TypeScript, but with 17 years of experience as a back-end Java developer, my natural first-choice of language is Java. But this i…
Please get in touch with us, your project is very exciting and would be a great use case for CheerpJ. Just drop us a line at http://leaningtech.com/cheerpj/#early.
CheerpJ has full DOM access and interoperability with JavaScript. Demos of these case study will be coming soon.
Cheers - LT
Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#17Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#18I don't anticipate ever using AWT or Swing again. JavaFX would get me interested but I don't see it mentioned. How feasible would that be?
Their demos are more impressive than CheerpJ.
Re: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#19 public class JavaFiddle
{
public static void main(String[] args)
{
x = 0;
}
}
Results in An exception has occurred in the compiler (1.8.0_131).
Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NullPointerExceptionRe: Show HN: CheerpJ JavaFiddle – Run Java in the browser
#20We currently use TeaVM and it's pretty performant/small.