You can run Java using Apache Tomcat. This Java server is open source and free. This allows you to create your own Java applications.
Unfortunately, shared hosting cannot offer this feature, as the resource consumption is too high. Our shared hosting is focused on service stability and quality — including Java would undermine both of those goals.
To install Java Tomcat you will need a VPS or a dedicated server, along with the cPanel control panel.
Check out our VPS or Dedicated Servers section.