Add default JVM parameters before running the Java project.
- Supports configuring default JVM parameters globally.
- Supports configuring default JVM parameters for a project.
- Configure the default JVM parameters for a specific module of a project.
-
Open the Plugin Marketplace at
Settings/Preferences → Plugins
. -
Open
⚙️ → Install plugin from disk....
, in the pop-up dialog box, select the downloaded pluginjar
to install.
-
Open the Plugin Marketplace at
Settings/Preferences → Plugins → Marketplace
. -
Search for
Default Jvm Args
. -
Select the searched plugin and install it.
-
Open Settings and go to the Tools group at
Settings/Preferences → Tools
. -
Under the Tools group, there are
Default Jvm Args(Global)
andDefault Jvm Args(Project)
configurations.Default Jvm Args(Global)
is used to configure the global default JVM parameters.Default Jvm Args(Project) Default JVM Args(Project)
is used to configure the default JVM parameters at the project level.
-
Enter the relevant JVM parameters in the configuration as required and save them.
在项目运行前添加默认的 JVM 参数。
- 支持全局配置默认的 JVM 参数。
- 支持为项目配置默认的 JVM 参数。
- 之前为项目指定模块配置默认的 JVM 参数。
- 打开插件市场,操作路径为
Settings/Preferences → Plugins
。 - 打开
⚙️ → Install plugin from disk...
,在弹窗的对话框里选择下载好的插件jar
安装。
- 打开插件市场,操作路径为
Settings/Preferences → Plugins → Marketplace
。 - 搜索
Default Jvm Args
。 - 选择搜索的插件并安装。
- 打开设置,进入到 Tools 分组,操作路径为
Settings/Preferences → Tools
。 - 在 Tools 分组下,有
Default Jvm Args(Global)
和Default Jvm Args(Project)
配置项。Default Jvm Args(Global)
用于配置全局默认的 JVM 参数。Default Jvm Args(Project)
用于配置项目级别默认的 JVM 参数。
- 根据需要在配置里输入相关的 JVM 参数保存。
Plugin based on the IntelliJ Platform Plugin Template.