Java Swing applications continue to power business-critical software across industries including finance, manufacturing, healthcare and government. While these applications often remain reliable and feature-rich, deploying and maintaining desktop Java environments can become increasingly complex.
CheerpJ enables organisations to run existing Java Swing applications directly in modern web browsers without requiring users to install Java or browser plugins.
Whether you’re replacing Java Web Start, modernising an internal application or extending the life of a desktop system, CheerpJ provides a practical way to deliver Java applications through the browser while preserving your existing codebase.
Key Takeaways
- Run existing Java Swing applications directly in modern web browsers.
- No local Java installation or browser plugins required.
- Browser-based OpenJDK runtime powered by WebAssembly and JavaScript.
- Supports Java 8 and Java 11 applications.
- Preview support for Java 17.
- Preserve existing Java code without rewriting your application.
Who Should Use CheerpJ?
CheerpJ is designed for organisations that want to modernise Java application delivery without undertaking a costly redevelopment project.
- Internal business applications
- Financial trading platforms
- Manufacturing software
- Engineering and CAD tools
- Healthcare applications
- Government systems
- Java Swing desktop applications
- Java Web Start applications
- Java Applets
Why Run Java Swing Applications in the Browser?
Many organisations have invested years developing Swing applications that continue to meet business requirements. The challenge is no longer the software itself. It’s how users access it.
- Remove the need for local Java installation
- Simplify application deployment and updates
- Provide secure browser-based access
- Support Windows, macOS and Linux users
- Extend the life of existing Java applications
- Modernise application delivery without rebuilding the application
How CheerpJ Runs Java Swing Applications
CheerpJ provides a browser-based Java runtime capable of executing existing Java bytecode directly inside modern browsers.
A typical deployment includes the CheerpJ runtime, your existing application JARs and a launcher page that starts the application.
When a user opens the application, CheerpJ starts a browser-based JVM, loads the Java application and renders the Swing interface inside the browser. No desktop Java installation is required.
Run Java Swing Applications Using a Browser-Based OpenJDK Runtime
CheerpJ 4.x includes a browser-based OpenJDK runtime that enables existing Java applications to execute inside modern browsers.
- WebAssembly
- JavaScript
- Modern browser APIs
Because applications continue to execute as Java, existing business logic and application behaviour are preserved.
Java 8, Java 11 and Java 17 Support
Java 8
CheerpJ provides extensive support for Java 8 applications, making it suitable for many existing Swing deployments.
Java 11
CheerpJ 4.x adds support for Java 11 applications, allowing organisations to modernise browser delivery while remaining on a current long-term support release.
Java 17 Preview
CheerpJ also includes Preview support for Java 17, allowing development teams to evaluate browser deployment for newer Java applications.
Supported Application Types
- Java Swing applications
- Java Web Start applications
- Java Applets
- Internal enterprise applications
- Desktop business applications
- Engineering tools
- Financial systems
- Manufacturing software
Why Choose CheerpJ?
| Capability | CheerpJ |
|---|---|
| Run Java Swing applications in the browser | Yes |
| Browser-based OpenJDK runtime | Yes |
| WebAssembly runtime | Yes |
| Java Web Start support | Yes |
| Java Applet support | Yes |
| Java 8 support | Yes |
| Java 11 support | Yes |
| Java 17 Preview support | Yes |
| No browser plugins | Yes |
| No local Java installation | Yes |
Running Your Application
Running an existing Swing application with CheerpJ typically involves:
- Including the CheerpJ runtime.
- Referencing your existing application JARs.
- Configuring the application launcher.
- Launching the application in a supported browser.
For complete configuration instructions, code examples and deployment guidance, refer to the CheerpJ documentation.
Supported Browsers
CheerpJ applications can run in all major modern browsers, including Google Chrome, Microsoft Edge, Mozilla Firefox and Safari.
Frequently Asked Questions
Can CheerpJ run existing Java Swing applications?
Yes. CheerpJ is designed to run existing Java Swing applications directly inside modern browsers.
Does CheerpJ convert Swing into HTML?
No. CheerpJ executes the original Java application inside a browser-based JVM and renders the Swing interface within the browser.
Do users need Java installed?
No. Applications run entirely inside the browser using the CheerpJ runtime.
Does CheerpJ support OpenJDK?
Yes. CheerpJ includes a browser-based OpenJDK runtime.
Which Java versions are supported?
CheerpJ supports Java 8 and Java 11 applications, with Preview support for Java 17.
Which browsers are supported?
Applications run in Chrome, Edge, Firefox and Safari.
Can CheerpJ run Java Web Start applications?
Yes. CheerpJ supports Java Web Start applications, allowing organisations to replace legacy desktop deployment.
Can CheerpJ run Java Applets?
Yes. CheerpJ enables Java Applets to run in modern browsers without browser plugins.
Do I need to rewrite my application?
For many applications, no. CheerpJ is designed to run existing Java bytecode, allowing organisations to modernise deployment while preserving their Java application.
Can CheerpJ run enterprise Java applications?
Yes. CheerpJ is designed for organisations running business-critical Java applications that need browser-based deployment.
Does CheerpJ use WebAssembly?
Yes. CheerpJ combines WebAssembly with JavaScript to provide high-performance Java execution inside modern browsers.
Related Guides
- Java to HTML5
- CheerpJ Documentation
- Running Java Applets in Modern Browsers
- Running Java Web Start Applications in the Browser
Ready to Run Your Swing Application in the Browser?
CheerpJ provides a practical way to modernise Java Swing application delivery while preserving your existing Java investment.
With a browser-based OpenJDK runtime, WebAssembly support and compatibility with Java 8, Java 11 and Java 17 Preview, CheerpJ enables organisations to deliver existing Java applications through modern web browsers without requiring a full application rewrite.
Explore the CheerpJ documentation or contact our team to discuss your application.




