Client java version

Jump to navigation Jump to search
Revision as of 4 September 2017 at 14:25.
The highlighted comment was created in this revision.

Client java version

Can we have a quick survey about java version with which you run your litumble clients?

I see that performance of my bots dropped since I switched to java-8-openjdk for bot compilations. Plus I see ridiculosly low scores for my bot against some very simple bots at the literumble. On my machine I beat them with much bigger margin. So I suspect that there is something strange with one of the clients.

For the record, I compile everything with java-8-openjdk and run my literumble clients with java provided within this jdk.

    Beaming (talk)03:03, 4 September 2017

    I'm using Java 8 for my rumbles. However, it seems that some bot stopped working on Java 8? etc. MoxieBot.

    I'm also using Java 8 and its features for bot development. However, I compile my bot with Java 8, then transpile the bytecode to Java 6 compatible using retrolambda, as Java 8 compiled code will generally refuse to run on lower platform.

      Xor (talk)04:45, 4 September 2017

      Cross porting from Java 8 seems to be excessive, if the rest of us are running Java 8. But let's see what others are running.

        Beaming (talk)05:20, 4 September 2017

        But why risk getting low scores when there are someone using Java6? I think anyone who participant in rumble should make the bot compatible with Java 6 until it is not officially supported by the literumble.

        Maybe what we really need is a vote for moving the minimum requirement of running rumble from Java 6 to Java 8?

          Xor (talk)10:18, 4 September 2017

          > what we really need is a vote

          The problem with the Robocode community is that everyone talks making changes, but no one actually does anything.

            MultiplyByZer0 (talk)10:58, 4 September 2017

            Please don't be so harsh.

            Our problem that we don't have large enough community. We can count active users in two hands. You cannot expect everyone to jump on the issues right away.

            At least we can make reasonably complete bug reports and see if they can be addressed.

              Beaming (talk)15:25, 4 September 2017
               
               
               

              By the way, ncj.MoxieBot 1.0 is running OK on my machine. It sometimes freezes but it seems to be the fault of the internal logic.

                Beaming (talk)05:24, 4 September 2017

                But all my bots are getting 100% against MoxieBot on my computer, whereas there seems to be some 50% on the rumble, which makes me think that it doesn't work as expected on Java 8.

                  Xor (talk)05:57, 4 September 2017
                   
                   

                  openjdk8 here, on Linux.

                    Skilgannon (talk)07:26, 4 September 2017
                     

                    java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

                      Cb (talk)09:14, 4 September 2017
                       

                      JDK 9 on Mac. Having the same problems with you.

                        Dsekercioglu (talk)09:33, 4 September 2017
                         
                        java version "1.8.0_144"
                        Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
                        Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
                        

                        on Windows 10.

                          MultiplyByZer0 (talk)10:36, 4 September 2017
                           

                          Java 1.7, as I just use an older unused computer for it. Some bots don't run in the rumble, but those battles are not even fought, so no pollution of the stats. I plan to update to Java 1.8 later this week.

                            GrubbmGait (talk)11:11, 4 September 2017
                             

                            openjdk8

                              Rsalesc (talk)11:47, 4 September 2017
                               

                              Ok. Among recent literumble clients uploads we mostly have java8. The only exceptions are Dsekercioglu and GrubbmGait, we also have uncertainty on Anonymous uploads. GrubbmGait did not make uploads more recent than 4 days old, while I have score glitches on more recent releases. It could be abnormality in Java9.

                              One more thing. If I run GUI client at full speed with debug graphics toggle off, from time to time I see a error message in console from robocode 1.9.2.5 about java Threads dying. In such battles my score drops a lot, strange thing that it is not directly related to skipped turns counts. It could be a bug in robocode itself.

                              Does anyone see such phenomenon?

                                Beaming (talk)15:20, 4 September 2017