Error: Could not find or load main class –Xmx1G

前端 未结 2 1289
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 22:04

This is crazy; has anyone ever seen this before?

java –Xmx1G –Xms1G –XX:+UseG1GC -XX:+PerfDisableSharedMem -jar service-1.0-SNAPSHOT.jar
Error: Could not fin         


        
2条回答
  •  走了就别回头了
    2021-01-12 22:23

    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.

提交回复
热议问题