6
我需要在Windows機器上全局設置-Dfile.encoding = UTF8。
我試圖設置JAVA_OPTS環境變量My Computer -> Properties ->Environment Variables
和Control Panel->Java->Java Runtime Environment Settings
,但這些沒有效果。
如何在Windows中全局設置JAVA_OPTS(特別是file.encoding
屬性)?在Windows上全局設置「JAVA_OPTS」
感謝
'JAVA_TOOL_OPTIONS'工作。謝謝 – RYN 2012-03-23 21:31:57
這是一個救生員。謝謝! – ryanbrainard 2013-04-03 22:57:47