G
G
go2goj2019-12-22 13:18:46
Java
go2goj, 2019-12-22 13:18:46

How to make vm arguments part of java program (file)?

How can I make a program (jar file) start with 2 mouse clicks and start it with vm arguments (eg -Xms5000m -Xmx5000m)?
When exported from Eclipse, the arguments do not become part of the jar file.
Do not offer to run programs through the console.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2019-12-22
@fshp

Launch a new jvm via exec with the parameters you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question