Reputation: 6185
Can Solr 4.9.0 solr-solrj API run in Java 1.6? (It seems to be compiled into Java 1.7) I'm using solr server 4.9.0 and It needs Java 1.7 but I want use the client into my project and it's compiled on Java 1.6
Upvotes: 4
Views: 3099
Reputation: 66
Solr 4.9.0 has been compiled for java7. The last version I found compiled for java6 is 4.7.2. You can see this in the pom.xmlbroken link for the project (relevant part reproduced below).
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
Upvotes: 5