Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] com.sun.tools.javac.Main is not on the classpath on Ubuntu Natty

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 <christopherbare@xxxxxxxxx> wrote:
>
> 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 the environment in which the Javac
> Ant task runs is different that the environment in which start.jar
> runs, either by spawning sub-processes or by having a distinct
> classloader. I was hoping someone who understands the guts of that
> could chime in w/ a means of configuring that environment/classloader.
>
> Symlinking tools.jar into .../jre/lib/ext/ is working for now, but
> seems like a hack.
>
> - Chris
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top