Error: Could not find or load main class –Xmx1G

£可爱£侵袭症+ 提交于 2019-12-01 06:55:10

You used an en-dash (U+2013) when you should have used a hyphen-minus (U+002D).

 –Xmx1G # incorrect: en dash
 -Xmx1g # correct: hyphen-minus

JVM arguments considered hyphen to consider JVM arguments. If you are using MAC book, It could be easily delusional for view

A hyphen, -, separates words in phrases, as in “least-used product” and is used for line breaks in books and other matter.

An em dash, —, is used to set off a phrase—one in the middle of the sentence—that’s not quite a parenthetical, but it isn’t so germane as to be set off by commas. It’s also used as a sort of pause to emphasize something—something important at the end of a sentence.

An en dash, –, separates ranges for dates, numbers, and quantities—like 9–5 and January–August. It’s also used for certain kinds of connections, directions, and contrasts, such as standing in for “versus” in Lincoln–Douglas debates or in place name pairing like Alsace–Lorraine, where both are separate places being referred to together.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!