Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MegaMan1311

macrumors regular
Original poster
Jun 30, 2007
216
0
USA
Hello.

I'm getting a new linux centOS VPS (its a huge improvement from my old shared hosting). The only problem is that Java is not installed. My experience with Java is non existent, so I am confused. I run a few Java applets on my site, so I need to install Java.

My question is what do I need to install? Do I just need to install java, or do I also need to install Apache Tomcat?

I don't understand Apache Tomcat either. What does it do? Can you run Java applets without it?

I'm confused... :confused:
 
You won't need either a JDK nor Tomcat. Your users (visitors to your site) will be the ones requiring a Java runtime in order to view your Applets, which is a client side technology.

Really? Wow. I didn't realize that it was that easy. Also, I forgot to mention that it links to a .jar file. Does that change anything?
 
Really? Wow. I didn't realize that it was that easy. Also, I forgot to mention that it links to a .jar file. Does that change anything?

You will just have to make sure your web server delivers the proper mime-type for jar files. IIRC, it should be 'application/x-java-archive'

Don't worry about having to do this unless you have a problem downloading and running the applet.
 
You will just have to make sure your web server delivers the proper mime-type for jar files. IIRC, it should be 'application/x-java-archive'

Don't worry about having to do this unless you have a problem downloading and running the applet.

Great! Thanks for your help. You don't know how much time and work you saved me. Thanks again!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.