Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<ol> <li>Go to the <em>menu</em> <code>Run</code>, and then to the <em>menu item</em> <code>Run Configurations</code>.</li> </ol> <p><a href="https://i.stack.imgur.com/170zO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/170zO.png" alt="enter image description here"></a></p> <ol start="2"> <li><p>In the <em>left panel</em>, go to <code>Java Application</code>, and then go to <code>Assertions</code>.</p></li> <li><p>In the <em>right panel</em>, choose the <em>tab</em> <code>Arguments</code>.</p></li> <li><p>Under the <em>field</em> for <code>VM arguments</code>, type <code>-ea</code> to enable assertions.</p></li> </ol> <p><a href="https://i.stack.imgur.com/x9TeH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/x9TeH.png" alt="enter image description here"></a></p> <ol start="5"> <li>Click on the <code>Apply</code> and then <code>Run</code> <em>button</em>.</li> </ol> <hr> <p>To globally set it as the <em>default for everything</em>:</p> <ol> <li><p>Go to menu <code>Window</code> (if you are on Windows), or go to menu <code>Eclipse</code> (if you are on Mac). For Linux it might be something similar.</p></li> <li><p>Go to <code>Preferences</code>.</p></li> <li><p>Choose <code>Java</code>, and then <code>Installed JREs</code> from the <em>left panel</em>. </p></li> <li><p>Select your <em>JRE</em>, and then click the <code>Edit...</code> button in the <em>right panel</em>. </p></li> <li><p>In the <code>Default VM arguments</code> field, add <code>-ea</code>.</p></li> </ol>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload