Hi Thomas,
On 13.04.24 16:13, Thomas Heigl wrote:
> I've always run the benchmarks using IntelliJ by starting the main class
> in KryoBenchmarks.
This worked.
I had to change Settings though:
Build, Execution, Deployment
-> Compiler
-> Java Compiler
-> Use --release option for cross-compilation (Java 9 or later)
needs to be OFF, otherwise IntelliJ will believe that the sun.misc
package does not exist.
Maybe my Java setup plays a role, I had set the JDK to Temurin 11.
It's a bit weird, I'm seeing JDK 11 and JDK 17 directories so I was
expecting module system issues have been dealt with, but ah well.
It's a bit unfortunate since this setting affects all projects on my
disk, but since my plans for hacking on Kryo are limited, I guess I'll
stick with that unless somebody has a better idea.
Haven't tried JDK 8 yet. Maybe I can switch the setting back.
It would have been nice to benchmark with more than one JDK though.
Regards,
Jo