You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by abhayd <aj...@hotmail.com> on 2010/10/23 08:13:06 UTC
solr build fails with java 1.5
hi
i downloaded solr trunk and was trying to build using jdk 1.5.
I keep getting error
[echo] Java Runtime Environment version: 1.5.0_22
[javac] Compiling 1 source file to
C:\search\workspace\solr\solr\build\solr
[javac] javac: invalid target release: 1.6
I am using eclipse
I can compile with 1.6 fine, but our production is at 1.5.
Any thoughts?
--
View this message in context: http://lucene.472066.n3.nabble.com/solr-build-fails-with-java-1-5-tp1756553p1756553.html
Sent from the Solr - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: solr build fails with java 1.5
Posted by Uwe Schindler <uw...@thetaphi.de>.
Even the 3.x branch will compile with Java 5. Only trunk not.
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: abhayd [mailto:ajdabholkar@hotmail.com]
> Sent: Saturday, October 23, 2010 6:17 PM
> To: solr-dev@lucene.apache.org
> Subject: Re: solr build fails with java 1.5
>
>
> hi yonik,
> Thanks for reply, I totally understand this.
>
> But our prod systems are not going to be on 6 for a year or so.
>
> We have solr 1.3 currently and wanted to have suggester component so I was
> trying to do upgrade and get suggester component.
>
> If i take SOLR 1.3 branch ( it seems to have suggester component) will it
> compile with 1.5?
> --
> View this message in context:
http://lucene.472066.n3.nabble.com/solr-build-
> fails-with-java-1-5-tp1756553p1758724.html
> Sent from the Solr - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: solr build fails with java 1.5
Posted by abhayd <aj...@hotmail.com>.
hi yonik,
Thanks for reply, I totally understand this.
But our prod systems are not going to be on 6 for a year or so.
We have solr 1.3 currently and wanted to have suggester component so I was
trying to do upgrade and get suggester component.
If i take SOLR 1.3 branch ( it seems to have suggester component) will it
compile with 1.5?
--
View this message in context: http://lucene.472066.n3.nabble.com/solr-build-fails-with-java-1-5-tp1756553p1758724.html
Sent from the Solr - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: solr build fails with java 1.5
Posted by Yonik Seeley <yo...@lucidimagination.com>.
Solr trunk (4.0-dev) requires Java6, as does zookeeper, a new Solr dependency.
Not much we can do about it.
Java6 has been out for almost 4 years now though, so it's not an
unrealistic requirement either.
-Yonik
http://www.lucidimagination.com
On Sat, Oct 23, 2010 at 2:13 AM, abhayd <aj...@hotmail.com> wrote:
>
> hi
> i downloaded solr trunk and was trying to build using jdk 1.5.
>
> I keep getting error
> [echo] Java Runtime Environment version: 1.5.0_22
> [javac] Compiling 1 source file to
> C:\search\workspace\solr\solr\build\solr
> [javac] javac: invalid target release: 1.6
>
> I am using eclipse
>
> I can compile with 1.6 fine, but our production is at 1.5.
>
> Any thoughts?
> --
> View this message in context: http://lucene.472066.n3.nabble.com/solr-build-fails-with-java-1-5-tp1756553p1756553.html
> Sent from the Solr - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org