This article is a mirror article of machine translation, please click here to jump to the original article.

View: 21611|Reply: 1

[Source] cmd command line compilation issue: "Picked up _JAVA_OPTIONS: -Xmx900M" workaround

[Copy link]
Posted on 9/21/2017 4:47:12 PM | | | |
In the process of using the cmd command line, the output of "Picked up _JAVA_OPTIONS: -Xmx900M" appears in the dialog box. javac fails to compile normally.

Regarding the problems thrown by the "Picked up _JAVA_OPTIONS:" series of errors, most of these errors are due to the installation of JDK or JRE locally, and then installing other software that will add or change Java environment variables, such as the JAVA-ADDIN plug-in of the common test tool QTP, etc., during the installation process of these software, some JAVA environment variable information will be automatically added, which will lead to conflicts and errors in the environment variables. Therefore, when such an error occurs, you only need to delete all the other JAVA environment variables except for the JAVA_HOME and CLASSPATH originally set, or delete the relevant JAVA_OPTIONS parameters.

The specific process is: enter the Windows environment variable settings, find _JAVA_OPTIONS this variable, delete it, and the redundant environment variable reference in the path, and run cmd again.



My own solution, I executed the set path under the cmd command, and found that the output seemed to be abnormal.The image above is the correct output, the output on my server is not normal

But checking the environment variables, there is no extra path, decisively restarting the server, the problem is solved, I don't know what the specific reason is.





Previous:【Wanke Cloud Review】A good private cloud disk alternative
Next:Wanke Cloud device judges whether the binding is wise or conservative activation code
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com