madrob commented on issue #1390: LUCENE-9266 remove gradle wrapper jar from 
source
URL: https://github.com/apache/lucene-solr/pull/1390#issuecomment-607435284
 
 
   From @gerlowskija on Slack:
   
   >Initially it failed for me with:
   `./gradlew --info tasks
   Error: Could not find or load main class 
buildSrc.src.main.java.org.apache.lucene.gradle.WrapperDownloader.java`
   But that turned out to be because I was using Java8.  Might be worth doing 
some sort of java -version check somewhere, but maybe not worth the trouble.
   
   >Sure.  But while people are developing on a mix of master/8x, there’s gonna 
be Java version mixups pretty frequently, so people are gonna start seeing that 
opaque error message unless we give them a better one.
   
   A better error message would be nice here, but I also don't want to figure 
out how to parse the output. Maybe the easiest solution is to add another class 
with an empty main method and if that fails we assume the java launcher is too 
old?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to