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.

Why when running heritrix in eclipse does it complain about the assert keyword?

0
Posted

Why when running heritrix in eclipse does it complain about the assert keyword?

0

You’ll need to configure Eclipse for Java 5.0 compliance to get rid of the assert errors (prior to Java 5.0 ‘assert’ was not a keyword and currently Eclipse defaults 1.3). This can be done by going into “Window>Preferences>Java/Compiler>Compliance and Classfiles” and setting “Compiler compliance level” to 5.0. Make sure the ‘Use default compliance level’ is UNCHECKED and that the ‘Generated .class files compatibility’ and ‘Source compatibility’ are also set to 5.0.

Related Questions

What is your question?

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

Experts123