I had the same issue and What I did to solve it:
- Install a proper JDK version
https://www.wowza.com/docs/manually-install-and-troubleshoot-java-on-wowza-streaming-engine
ex) Wowza Engine 4.7.8 -> JDK 9.0.4
- eclipse: Right-click on your project and select
"Properties -> Java Compiler", check “Enable project specific settings” and select the same JDK Version from the “Compiler compliance settings” select box.
- eclipse: Under
Window -> Preferences -> Java -> Compiler, set Compiler compliance level to the same JDK Version.