Setup Jetty 7 with JSP engine

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-05-20T20:43:47Z Indexed on 2010/05/20 21:40 UTC
Read the original article Hit count: 191

Filed under:
|
|

I've been trying to get Jetty to run my web app via a custom launcher (embedded). I am trying to figure out how to tell Jetty which java compiler to use for JSPs. I want to do what java -jar start.jar -OPTIONS=jsp does, but without using start.jar.

Here is what shows on the console:

Javac exception, Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Do I need to put the javac libraries into my classpath?

© Stack Overflow or respective owner

Related posts about jetty

Related posts about jsp