Re: error when use "normalRelativeAngleDegrees(double angle)"
fnl <[email protected]> Sun, 5 Aug 2018 11:02:05 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
I have never seen this issue before. It could be caused by a wrong compiler. Are you using the Oracle JDK or OpenJDK? If you are running on a JRE, you can reset the compiler. From the menu: Robot -> Source Editor ... then ... Compiler -> Options -> Reset Compiler Also try to change the compiler option with "-verbose" (clean all in the field before this). If this does not work. Tell me what your system write if you write this from a console: java -version javac -version Cheers, - Flemming When I try to use "normalRelativeAngleDegrees(double angle)" I get an error > saying > source level must be 1.5 or greater. So, how do I get this higher level of > code? > > regards, > andrew > -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.