Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
値が見つかった場合に既存のプロジェクトに機能を追加してから使用したい
System.setProperty("javaplugin.vm.options","-Xmx512m");
実際には、変数を介して値 -Xmx512m を取得しています。では、このステートメントの書き方
System.setProperty("javaplugin.vm.options",""Xmx"");
Googleで検索しようとしましたが、見つかりません.....誰か提案してください...よろしくお願いします
試してみてください
System.setProperty("javaplugin.vm.options","\"-Xmx512m\"");
を使用する\と、文字列の二重引用符をエスケープして、二重引用符として表示できます。
\