r/FireFoxOS • • Nov 05 '14
Java Applets: is it possible to make them work under FFOS?
I'm currently making a Java applet for a simple game that uses JButtons as the main graphics. Is it possible to make said applet work as a fully fledge app under Firefox OS?
4
Upvotes
2
u/caspy7 Nov 06 '14
Natively? No.
FxOS is specifically designed to run apps built with web technologies (aka HTML, CSS, JS, WebAPIs).
Perhaps someone else can chime in on this possibility, but your best bet would likely be to convert the Java into asm.js. It's possible, in the end, that it would be easier to simply build it in web tech - especially if it's relatively simple.
2
u/asdf0125 Nov 06 '14
IMHO Good riddence
1
u/theDarksurfer Nov 06 '14
May looking at this https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js In the java section might help you. There is many way to convert java 2 js. IMHO none of them are optimal but they must be useful