solr build fails with java 1.5

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

solr build fails with java 1.5

abhayd

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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: solr build fails with java 1.5

Yonik Seeley-2-2
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 <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: solr build fails with java 1.5

abhayd

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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: solr build fails with java 1.5

Uwe Schindler
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: [hidden email]


> -----Original Message-----
> From: abhayd [mailto:[hidden email]]
> Sent: Saturday, October 23, 2010 6:17 PM
> To: [hidden email]
> 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: [hidden email] For additional
> commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]