lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Pine <>
Subject Re: Embarrasing compilation errors with solr-nightly/example
Date Thu, 29 Jun 2006 04:32:58 GMT

Moving the tools.jar to my JRE's lib directory worked.
I did some further research concerning tools.jar and
JRE/JDK/JAVA_HOME environment variables and it seems
that they all have their own JavaHome entry in the
registry under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\

I think part of my problem is that when I type:

java -jar start.jar I'm using the java.exe from the
jre and it seems to ignore the JAVA_HOME environment
variable and use its JavaHome registry entry. 

I feel like I've run into this problem on another
Windows box with Ant before. It's pretty awesome when
both cygwin and the DOS shell, echo $JAVA_HOME,
displays the path to the jdk, and then Windows decides
to ignore it. w00t


--- Erik Hatcher <> wrote:

> On Jun 28, 2006, at 8:30 PM, Chris Hostetter wrote:
> > Interesting ... it never occured to me that the
> demo would require a
> > JDK instead of a JRE so that Jetty can compile the
> JSPs ... but it  
> > makes
> > sense.
> There are ways to precompile JSP's, but last time I
> tinkered with  
> this it was container specific.  Maybe it's gotten
> better?  There is  
> an Ant task to do this:
> Maybe all is well with container neutral JSP
> precompilation these  
> days?!  Wouldn't that be nice!
> Another option if the admin section is going to
> expand dramatically,  
> is to actually use a web framework such Tapestry,
> WebWork/Struts, or  
> even just Velocity's servlet to avoid JSP
> compilation.
> It's not just the demo, it's the admin application
> altogether that  
> uses JSPs.  And I sound like such a fanboy, but
> kudos to the very  
> handy admin stats page!
> Personally, I'd like to see us build out the Ruby
> tie to Solr so any  
> admining could be done through Ruby command-line
> tools and a RoR UI  
> if need be.  :)
> 	Erik

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

View raw message