Specified VM install not found: type Standard VM, name jre7

后端 未结 11 1461
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 00:10

Specified VM install not found: type Standard VM, name jre7 Have you ever encountered this problem in Eclipse while building an ant file? Then this article is for you. Deleting

11条回答
  •  星月不相逢
    2021-02-01 00:42

    You can change what JRE the ant bulid file is launched with inside eclipse.

    Right click on the ant file in the ant view and select "Run As"->"Ant..." from the context menu.

    Then in the launch dialog select the JRE tab. Note the error message at the top if it can't find the JRE that it expects.

    Select a JRE that you have installed or manage install a new one. You can also add vm arguments (enable logging or change memory alocation) if you need to in this dialog.

提交回复
热议问题