JAVA_OPTS和JAVA_TOOL_OPTIONS之间的区别? [英] Difference between JAVA_OPTS and JAVA_TOOL_OPTIONS?
本文介绍了JAVA_OPTS和JAVA_TOOL_OPTIONS之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
何时应该使用这些环境变量?
解决方案
基本上JAVA_TOOL_OPTIONS旨在供开发工具,监控工具等使用,而JAVA_OPTS用于运行通用Java程序,我认为人们倾向于混合搭配(从谷歌向我展示的例子)。 / p>
When should each of these environment variables be used?
解决方案
see "what is" doc and "tool options" doc
Basically the JAVA_TOOL_OPTIONS is intended for use by development tools, monitoring tools and the like whereas JAVA_OPTS is used for running 'general' Java programs, I think people tend to mix and match somewhat (from what Google has shown me example wise).
这篇关于JAVA_OPTS和JAVA_TOOL_OPTIONS之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文