battlecatsultimate / BCU-java-PC

battle cats ultimate, a fan-made battle cats emulator.
94 stars 72 forks source link

Crash when viewing animation with JOGL on #73

Closed unbiaseduser closed 2 years ago

unbiaseduser commented 2 years ago

I don't know if this has been reported before, but this bug is still happening so I'm doing it anyway. When I turn JOGL on, any attempts to view unit animations or play a stage causes the app to crash. It doesn't happen with JOGL off. Here's the log of the crash: 20220525155227.log

MandarinSmell commented 2 years ago

This is because jar file is connected with JDK. If you use too new JDK (JDK 9 or higher), this problem happens. This isn't problem from our codes, but from JOGL library, meaning that this isn't something we can fix it.

To solve this problem, you have to delete JDK via proper uninstaller (Control Panel, etc.), and reinstall Java with JRE

unbiaseduser commented 2 years ago

Thanks, it worked. Turns out I did have a new JDK installed.