Java

From DreamHost

Jump to: navigation, search

Java is a language and set of libraries developed by Sun Microsystems. Dreamhost has Java installed, but you cannot run JavaServlets nor JSP.

Contents

What Version?

/usr/bin/java -version
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)

Do you have a JDK installed? Where is the JDK?

Yes! The JDK is installed in

/usr/local/dh/java

You can set your JAVA_HOME by doing the following (if you are using the bash shell)

export JAVA_HOME=/usr/local/dh/java

Which java features do you support / not support?

WE SUPPORT the following:

  • Java (in general)
  • Java Applets
  • Java2
  • Java SDK/JRE (Software Devel Kit/Java Runtime Environment)

WE DO NOT SUPPORT:

  • Java Servlets
  • JSP
  • Tomcat/Jakarta (a JSP engine)
  • EJB (Enterprise Java Beans)
  • J2EE
  • Pretty much anything else Java-related.

Do you support Java applets?

Java applets are applications that run on the user's browser, as opposed to CGI programs, which run on the server.

Yes, we do support them.

Do you support Java servlets?

Sadly, no.

While certainly a useful technology, Apache JServ has been in maintenance mode for quite some time now (the last release as of this writing was on June 17th, 2000), and as time goes on it will be more and more difficult to integrate it with other technologies we operate on.

We have closely evaluated the most obvious alternative (Jakarta Tomcat), but due to an inherent limitation in the way Tomcat was designed it is not a feasible alternative when used in a shared web hosting environment, even by their own admission. We've also evaluated a number of commercial solutions, but have not found a viable, cost-effective replacement that will work on all of our shared hosting servers.

[This article was last updated before January 2006. If you have new information , please update this article.]

Do you support JSP?

JSP (Java Server Pages) is a format for using Java to dynamically generate web content.

DreamHost does not offer JSP on shared hosting plans. We can offer it on our dedicated servers though.

Do you support Enterprise Java Beans?

Enterprise Java Beans, the server-side component architechture for the J2EE platform, enables rapid and simplified development of distributed, transactional, secure, and portable Java applications.

DreamHost does not support Enterprise Java Beans.

Do you support J2EE?

J2EE (Java 2 Enterprise Edition) is NOT supported by DreamHost.

Do you support the Tomcat/Jakarta JSP engine?

No. DreamHost does not support the Tomcat/Jakarta JSP engine.

Do you support JavaScript?

Of course we do! "Java" and "JavaScript" are two entirely different things.

Java is software that runs on our server.

JavaScript on the other hand, is software that is stored on our server, but runs on your computer in your web browser.

Related articles

Personal tools