LoginSignup
9
6

More than 5 years have passed since last update.

eclipseでvm変数を引き渡して実行

Last updated at Posted at 2015-04-13

eclipseのメニュー
実行>実行構成>引数タブのVM引数の欄に以下のオプションを指定すると、
ユーザー指定の変数と値を引き渡して実行することができる

<オプション>
-D変数=値

複数指定する場合は以下のとおり
<オプション>
-D変数1=値1 -D変数2=値2 -D変数3=値3

参照元
https://docs.oracle.com/javase/jp/1.3/tooldocs/linux/java.html

9
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
6