Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I pass arguments to the Java Virtual Machine which BlueJ runs on?

bluej Java Machine pass virtual
0
Posted

How can I pass arguments to the Java Virtual Machine which BlueJ runs on?

0

BlueJ actually runs two Java VMs: One is for BlueJ itself, and the other runs user code (for instance if you instantiate a class the resulting object is created in the user VM). To specify arguments for the user VM, use the bluej.vm.args property in bluej.defs (see Configuring BlueJ). To specify VM arguments for the primary VM, you need to do something different according to the operating system you are using: • Windows: use the bluej.windows.vm.args property in bluej.defs • Linux/Unix/equivalent: edit the “bluej” shell script which is created by the installer (in the directory where you installed BlueJ), and modify the last line (which launches BlueJ). • Mac OS: you cannot specify arbitrary arguments on Mac OS, although you can specify particular properties and their desired values (i.e. the equivalent of the -D argument). To do this, control-click the BlueJ icon, and choose “show package contents” from the popup menu; then, double-click the Contents folder, and then the Info.plist fi

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123