-1

For an assignment I had to edit the VM options of a Java project in Intellij. The following line had to be added to the options:

-Djava.compiler=NONE -DXint

However, I have no clue what these options do, so I'm asking it here. I was not able to find anything online about this.

SirWiggel
  • 13
  • 3

1 Answers1

3

The flag -Djava.compiler=NONE disables Just-In-Time (JIT)-compilation, as explained here.

The flag -DXint runs the JVM in interpreted mode, i.e. bytecode is interpreted, never compiled to machine code, as explained here.

Turing85
  • 18,217
  • 7
  • 33
  • 58