Re: [jetty-users] com.sun.tools.javac.Main is not on the classpath on Ubuntu Natty

2011-10-27 Thread Joakim Erdfelt
Just decided to poke around in natty's update-alternatives ... [joakim@lapetus ~]$ lsb_release -a LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch Distributor ID: Ubuntu Descripti

Re: [jetty-users] com.sun.tools.javac.Main is not on the classpath on Ubuntu Natty

2011-10-27 Thread Jan Bartel
For that version of jetty (because of the version of jasper, the jsp engine) you are going to need a full jdk, not a jre in order to compile your jsps. regards Jan On 28 October 2011 05:00, Christopher Bare wrote: > > Thanks Andreas, > > Yeah, tried that. It looks like the alternatives mechanis

Re: [jetty-users] com.sun.tools.javac.Main is not on the classpath on Ubuntu Natty

2011-10-27 Thread Christopher Bare
Thanks Andreas, Yeah, tried that. It looks like the alternatives mechanism will let you choose between sun java and openjdk java. It doesn't offer a choice between the JRE and JDK, which, I suppose, is because you're using the JRE's java executable either way. I'm guessing that the issue is that

Re: [jetty-users] com.sun.tools.javac.Main is not on the classpath on Ubuntu Natty

2011-10-27 Thread AS Maps
Hi Chris, have you already tried setting your default Java via sudo update-alternatives --config java Don't really know, but maybe setting the default to JDK here solves your problem. Regards Andreas On Wed, Oct 26, 2011 at 9:23 PM, Christopher Bare wrote: > Hi, > > I installed jetty 6.1.24

[jetty-users] com.sun.tools.javac.Main is not on the classpath on Ubuntu Natty

2011-10-26 Thread Christopher Bare
Hi, I installed jetty 6.1.24-6 on Ubuntu Natty 11.04 via apt-get install jetty. I also installed openjdk-6-jdk 6b22-1.10.2-0ubuntu1~11.04.1 OpenJDK Development Kit (JDK). <<<--- Note that this is the JDK not just the JRE. I started Jetty using start.jar and when Jetty went to compile a .JSP page,