Check your path... the JRE (vs JDK version) is probably still being picked up. You could also try typing the full path:
C:\Program Files\Java\jdk1.6.0_01\bin\java -jar start.jar -Yonik On 5/17/07, Laxmilal Menaria <[EMAIL PROTECTED]> wrote:
C:\>echo %JAVA_HOME% C:\Program Files\Java\jdk1.6.0_01 On 5/17/07, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > > > Hello everyone, > > I am new to solr , I have tried to use solr. start.jar from examples, is > successfully running, but when I opened http://localhost:8983/solr/admin/ then > its give me the following exception, > > HTTP ERROR: 500 > Unable to compile class for JSPGenerated servlet error: May 17, 2007 > 4:11:48 PM org.apache.jasper.compiler.Compiler generateClass SEVERE: 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 at > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler > (CompilerAdapterFactory.java:105 > . > . > . > Generated servlet error: > May 17, 2007 4:11:48 PM org.apache.jasper.compiler.Compiler generateClass > > so whats the problem, please suggest me.. > > My Details: > > OS: Windows 2003 Server R2. > JAVA: 1.6 and also set JAVA_HOME variable at env. setting > Solr Version: C:\apache-solr-1.1.0-incubating > > -- > Thanks, > Laxmilal menaria > > http://www.minalyzer.com/ > http://www.chambal.com/ > -- Thanks, Laxmilal menaria http://www.minalyzer.com/ http://www.chambal.com/