Support article
Do You Offer Java Hosting?
Java needs an application server like Apache Tomcat, not shared hosting. Here's the difference from JavaScript and when you need a VPS instead.
Introduction
Java is a technology used in specific web applications, usually with application servers like Apache Tomcat. It shouldn’t be confused with JavaScript, which runs in the browser and is used on most websites without needing anything special on the server.
Java is not the same as JavaScript
JavaScript is used on web pages for menus, forms, animations, or browser-side functionality, and it works on any standard web hosting because the visitor’s browser interprets it.
Java, on the other hand, requires a specific server environment such as Apache Tomcat, a free, open-source Java server.
Why shared hosting doesn’t offer Java
Our shared hosting service can’t offer this feature because Java applications consume too many resources. Shared hosting is focused on stability and quality of service for many clients at once, and including Java would undermine both goals.
What you need to run Java
To install Java Tomcat you need a VPS or a dedicated server, along with the cPanel control panel. Before signing up, make sure you know:
- The Java version your application requires.
- Whether it needs Tomcat or another application server.
- Whether it needs persistent background processes.
- The approximate memory and CPU usage.
Frequently asked questions
My site uses JavaScript, do I need Java hosting?
No. JavaScript runs on any standard web hosting because the visitor’s browser interprets it.
Can I install Java on shared hosting?
No, shared hosting doesn’t support Tomcat or Java applications. You need a VPS or a dedicated server.
What do I need to run a Java application?
A VPS or dedicated server with cPanel and Apache Tomcat installed, plus knowledge of the Java version your application requires.
Conclusion
You can run Java on miHosting using Apache Tomcat on a VPS or dedicated server with cPanel. Shared hosting doesn’t include this feature due to its high resource usage. Check out our VPS and dedicated servers section if your project needs it.