problem
Apache’s drill executes the startup command drill-embedded
Error: ERROR: Java 1.7 or later is required to run Apache Drill.
By java -version
command to view the version information is as follows:
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Solution
Open the bin directory of drill drill-config.sh
modify the behavior of 396:
"$JAVA" -version 2>&1 | grep "version" | egrep -e "1/.4|1/.5|1/.6" > /dev/null
?the reason
Dril problem lies in the drill-config.sh
script is a positive match jdk version, no decimal ‘.’ Escape.
reference
ERROR: Java 1.7 or later is required to run Apache Drill.
Read More:
- How to Solve java server error (java application Run Normally)
- How to Solve Flynk Task Java verifyerror 209 error
- [Solved] Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;
- How to Solve Java Runtime (class file version 53.0)ERROR
- How to Solve Hbase JAVA import Package Error
- How to Solve IntelliJ IDEA Error: Cannot determine path to ‘tools.jar‘ library for 17 (C:\Program Files\Java\jd…
- When the database table field is set to self incrementing, use the entity class to insert or update the data to solve the error (Hibernate Framework)
- How to Solve Error: Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- How to Solve Error:java.io.InvalidClassException
- How to Solve Java Error \ufeff
- How to Solve JAVA Error: error: A JNI error has occureed
- How to Solve nacos Startup Error and Connect to MYSQL
- JAVA: How to Solve Foreach Loop Remove/add Element Error
- [Solved] java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
- Springboot uses Oracle database to report property ‘sqlsessionfactory’ or ‘sqlsessiontemplate’ are required
- How to Solve IDEA Error: Command line is too long
- How to Solve Log4j 2.5 upgrade to 2.15 error
- How to Solve the Primary Key of mybatisPlus Inserted Data is too Large Issue
- How to Solve Linux connecte to the old version of SQL Server Error
- JAVA: How to Use Minio to upload pictures