This message is not outdated!
If you use Java 7, it can accidently happen that you use Java 7 features and the code no longer compiles after commit. Also the syntax autocompletion does suggest wrong things. You have to configure the language level for Java 6! The JDK used *may* be newer, but that may cause compile failures later (see recent failures on Jenkins), if you use e.g. a method/class not in Java 6. See also https://issues.apache.org/jira/browse/LUCENE-4725 Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de <http://www.thetaphi.de/> eMail: [email protected] From: Jack Krupansky [mailto:[email protected]] Sent: Saturday, February 02, 2013 5:39 PM To: Lucene/Solr Dev Subject: Outdated message - Must my Eclipse project "use a Java 6 JRE"? I just did an svn co of the 4x branch and then ant eclipse and it says: eclipse: ... [echo] [echo] SUCCESS: You must right-click your project and choose Refresh. [echo] Your project must use a Java 6 JRE. Is Java 6 required? No Java 7? Or does this message simply need to restate the requirement from SYSTEM_REQUIREMENTS.txt: “Java 6 or greater. When using Java 7, be sure to install at least Update 1!”? Maybe the build should say “Your project must use either a Java 6 JRE or a Java 7 JRE of at least Update 1” I didn’t check to see what the other releases/trunks say. -- Jack Krupansky
