Skip to main content

CheerpJ Converts Your Java Apps To JavaScript Apps Without Accessing Source Code


cheerpj java to javascript
Makers of Cheerp, a C++-to-JavaScript compiler, are here with their second offering, CheerpJ. CheerpJ converts any Java application and library to a browser-based web application. Notably, CheerpJ doesn’t need a source code access to compile Java
bytecode into JavaScript. While CheerpJ’s limited release will take place in July, its full and commercial version will be shipped later this year.
Earlier this month, I came around a Java compiler for web applications, and I wished to share the same with you. I’m talking about CheerpJ, which has the power to convert any Java application and library to a browser-based web application.
CheerpJ is created by the makers of Cheerp, which is a C++-to-JS compiler which generates fully garbage-collectible and optimized JavaScript output. With the help of Cheerp and other tools, compiling C/C++ to the browser has become easier.
Coming back to CheerpJ, it compiles Java bytecode into JS with 100% Java compatibility. The support also includes dynamic class loading and reflection.
CheerpJ can be evoked on a whole Java archive or on individual class files to generates a .jar.js or .js output. It uses the original .jar metadata for reflection.
CheerpJ Demo
Once CheerpJ has completed the conversion, you can remove all the bytecode before the web deployment. CheerpJ also provides a simple tool for the same and helps in decreasing the download time. Very often the output JS is comparable to original Java code.
Notably, CheerpJ also provides different filesystem access methods, including a read-only and HTTP-based filesystem and more.
The creators of CheerpJ have also provided demos to showcase its capabilities. You can take a look at them here.
The restricted release of CheerpJ will happen in July. The full commercial version will be made available later this year. As a bonus, a Chrome extension called CheerpJ Applet Runner has also been released.
Meanwhile, you can read more about CheerpJ here in the announcement post.

Comments

WHAT'S HOT

Fappening 2.0 Continues: Modern Family Actress Sarah Hyland Has Become The Latest Victim Of Notorious Hackers [Private Photos, Video Leaked]

Modern Family actress Sarah Hyland has become the latest victim of notorious hackers. Her private pictures and video have been posted online on infamous website Celeb Jihad. According to media sources, Sarah’s lawyers are planning to take legal action against the websites who choose to publish the leaked material. Meanwhile, the actual powers behind the leak are unknown.

Samsung Overtakes Fitbit In Wearable Sales For First Time

Fitbit has been a top competitor on the global wearable market for a long time, but the South Korea giant Samsung managed to steal the silver crown of the wearable market from Fitbit. According to Strategy Analytics, Samsung gained the

Supermassive Black Holes Found Orbiting Each Other For The First Time

Image Credit: UCR Researchers from Stanford University have identified super-massive binary black holes at the center of Galaxy 0402+379 about 750 billion light years away. The two of the black holes are just 24 light years apart and one of them is orbiting the other. This is the first

Owners Of The Samsung Gear S3 In The United Kingdom Have Finally Received A Software Update That Enables Support For Samsung Pay

Owners of the Samsung Gear S3 in the United Kingdom have finally received a software update that enables support for Samsung Pay. Starting today, users will be able to use the Gear S3 smartwatch to make payments on all contactless