w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Where to add compiler options like -ea in IntelliJ IDEA?

The -ea option to enable assertions is passed to the JVM not to the compiler. Add it as a VM option for your runtime configuration.

From comments: specific location at Menu "Run" --> Edit Configurations... --> Configuration -->VM Options

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.