Re: [jetty-users] How to fix "error.no.jdk"?

2011-10-27 Thread Hugues Malphettes
Hi Jan, Hendrik and Dmitryi, We faced the same situation in OSGi where we needed to tell jsp-impl to not use the in-jvm compiler. The glassfish committers added a system property for us to do that [1]. Here is what needs to happen before the jasper compiler is loaded by your webapp: System.set

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] How to fix "error.no.jdk"?

2011-10-27 Thread Jan Bartel
There was discussion of this on this list last week I believe. The issue is that we updated the version of jasper (jsp engine from Glassfish) that we use in 7.5.0 and it insists on using the in-jvm compiler if you're using jdk1.6 or above. Therefore, you need to have a full jdk installed (until w

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] How to fix "error.no.jdk"?

2011-10-27 Thread Dmitriy Avtonomov
there were some mentions of such an issue with 7.5.x. versions on this mailing list, plus I have encountered this myself. dmitriy On Thu, Oct 27, 2011 at 14:06, Hendrik Schenk wrote: > I tried the jetty version 7.4.5. and it works fine. thank you for your > help. > > it is a known bug of 7.5? >

Re: [jetty-users] How to fix "error.no.jdk"?

2011-10-27 Thread Hendrik Schenk
I tried the jetty version 7.4.5. and it works fine. thank you for your help. it is a known bug of 7.5? Whatever..it works for me :) best regards hsch - Original Message - From: Hendrik Schenk Sent: 10/27/11 11:55 AM To: JETTY user mailing list Subject: Re: [jetty-users] How to fix "

Re: [jetty-users] How to fix "error.no.jdk"?

2011-10-27 Thread Hendrik Schenk
i tried the JSP example provided from jetty and deployed a test .war-file, which consist an easy JSP and work in other container/server like tomcat, jboss and glassfish (all with the same env-variable JAVA_HOME) . Still the same error. I also tried to change the jdk. I tried jdk 6 and the new on

Re: [jetty-users] How to fix "error.no.jdk"?

2011-10-27 Thread Dmitriy Avtonomov
do you happen to use JSPs in your project? if so, then either try jetty 7.4.x or use an older jdk (you're probably using jdk 1.7?) On Thu, Oct 27, 2011 at 13:26, Hendrik Schenk wrote: > Hi all, > > i want to use jetty instead of tomcat. I downloaded the newest stable 7 > release from here: http:

[jetty-users] How to fix "error.no.jdk"?

2011-10-27 Thread Hendrik Schenk
Hi all, i want to use jetty instead of tomcat. I downloaded the newest stable 7 release from here: http://download.eclipse.org/jetty/stable-7/dist/ I unzipped the package jetty-distribution-7.5.4.v20111024.zip on my windows machine and start the server in the command prompt "java -jar start-

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