Thanks Yonik. I will go ahead and try your suggestion.
-Jagadish On 1/3/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:
It looks like the jre is being picked up before the JDK. Put the bin directory of the JDK in your path first, or use the full path to the JDK: c:\Java\jdk1.6.0\bin\java.exe -jar start.jar -Yonik On 1/3/07, Jagadish Channagiri <[EMAIL PROTECTED]> wrote: > I am trying to run the example in Solr Distribution and can't instantiate > http://localhost:8983/solr/admin. > > Her below is the stack trace I get as soon as I instantiate > http://localhost:8983/solr/admin. > I have not set the classpath variable. > I have set JAVA_HOME c:\Java\jdk1.6.0 > > I have noticed that JRE is in Program Files\Java\JRE1.6.0. > This is what the Java installer from Sun does. > > I have Curl and Sh in my PATH. > > Kindly let me know if I am doing anything wrong. I appreciate any > help/suggestions. > > Thanks, > Jagadish > > ---------------------------Begin Stack > Trace-------------------------------------------------- > Jan 1, 2007 8:46:47 AM org.apache.jasper.compiler.Compiler generateClass > SEVERE: Error compiling file: > /C:/DOCUME~1/Jagadish/LOCALS~1/Temp/Jetty__8983__solr//org/apache/jsp/admin\index_jsp.java > [javac] Compiling 1 source file > > Jan 1, 2007 8:46:46 AM 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