Error: JAVA_HOME is set to an invalid directory
Solution:
Change JAVA_HOME = "D:/Java/jdk1.6.0_12/bin"
to JAVA_HOME = “D:/Java/jdk1.6.0_12”
Change %JAVA_HOME% in the path environment variable to %JAVA_HOME%/bin
Then restart cmd
Read More:
- [Solved] nacos Startup Error: Please set the JAVA_HOME variable in your environment
- Nacos boot error, unable to find Java_HOME [How to Solve]
- Executing Maven command error: Java_HOME is not defined correctly executing maven
- [Solved] tomcat Run Error: The selected directory is not a TomEE home
- [Solved] mvn -v error: Unsupported major. minor version 51.0
- Mongodb java version 3.X, prompt “XXX (an encryption algorithm) is not available” when there is a user name and password
- [Solved] Hadoop Error: HADOOP_HOME and hadoop.home.dir are unset.
- keytool error: java.lang.Exception: Input not an X.509 certificate
- JAVA Error: Error attempting to get column ‘XXX’ from result set. Cause java.sql.
- [Solved] Error attempting to get column ‘xxxx_time‘ from result set. Cause: java.sql.SQLFeatureNotSupportedEx
- nc ecplise Switch home[UNK] Error: java. lang.InternalError: Error in EVP_CipherFinal_ex.
- [Solved] JAVA connect HBase program is stuck and does not report an error
- Gitee Idea Push Error: Invocation failed Server returned invalid Response. java.lang.RuntimeException
- How to Solve ERROR: Java 1.7 or later is required to run Apache Drill
- [Solved] Springboot2.x ElasticSearch Error: availableProcessors is already set to [4], rejecting [4]
- [Solved] MultipartException: Failed to parse multipart servlet request; nested exception is java.lang.Runtime
- [Solved] MVN Build Project Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test
- 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)
- The node requests the API address written by java to report an error error:getaddrinfo ENOTFOUND
- Java Error: No enclosing instance of type Main is accessible. Must qualify the allocation with an encl