linux - macbook tomcat configuration problem?
扔个三星炸死你
扔个三星炸死你 2017-06-24 09:42:50
0
2
935

When the macbook system configures tomcat, it appears:

Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variables is needed to run this program

How to deal with it

扔个三星炸死你
扔个三星炸死你

reply all(2)
女神的闺蜜爱上我

First make sure the JDK is installed and the Java environment variables are configured properly.
Verification method:
Enter in the terminal

java -version

It is normal if the corresponding version number is displayed, otherwise please install JDK and configure Java environment variables first.
Reference address:
Set up Java development environment on MacBook Pro

小葫芦

tomcat runs in jvm, you need to install jdk first.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!