Re: Compiling SolrJ for Java 6

2015-11-03 Thread O. Olson
Damm. I always thought cross compilation of Java worked (i.e. compile in one version with the target of a previous version). I guess it worked in my code because I did not use any of the new features. Thank you very much Shawn. No, I'm not running SolrCloud, but I wanted to use the new features

Re: Compiling SolrJ for Java 6

2015-11-03 Thread Shawn Heisey
On 11/3/2015 3:33 PM, Erick Erickson wrote: > You're on your one if you try to do this. Solr 4.10 requires Java7. I > don't believe Solr will even compile under 1.6. > > You may bet lucky and get SolrJ to compile, but whether it works or > not is chancy at best. > > Best, > Erick > > On Tue, Nov 3,

Re: Compiling SolrJ for Java 6

2015-11-03 Thread O. Olson
Thank you Erick. I'm sorry I did not clarify this in my original message. I'm compiling Solr (or SolrJ) under Java 7. I'm aware that it requires Java 7 to compile, and that's why I have not changed the "java.source" value in the common-build.xml file. SolrJ compiles fine. My problem is that I wou

Re: Compiling SolrJ for Java 6

2015-11-03 Thread Upayavira
I think it was around 4.7 that the Java7 requirement was introduced. You may find trying 4.6 will get you what you are needing. I'd expect the artifacts in the Maven repo should be compiled with Java6 from that point backwards. Upayavira On Tue, Nov 3, 2015, at 10:33 PM, Erick Erickson wrote: > Y

Re: Compiling SolrJ for Java 6

2015-11-03 Thread Erick Erickson
You're on your one if you try to do this. Solr 4.10 requires Java7. I don't believe Solr will even compile under 1.6. You may bet lucky and get SolrJ to compile, but whether it works or not is chancy at best. Best, Erick On Tue, Nov 3, 2015 at 2:13 PM, O. Olson wrote: > Hi, > I'm looking to com