bukkit-runtime icon indicating copy to clipboard operation
bukkit-runtime copied to clipboard

Plugin JARs break on Linux when built on Windows

Open connerdouglass opened this issue 4 years ago • 1 comments

JAR files built with crx build are platform-specific. Building on Windows or Mac and then uploading to a Linux server causes the plugin to crash.

Most people build and test on one of the three platforms locally, then deploy to Linux. So, plugin JARs should bundle either:

  • Host platform + Linux, or...
  • All three platforms (win, mac, linux)

connerdouglass avatar Dec 04 '21 06:12 connerdouglass

The same issue occurs when you build on Linux and try to run it on another machine that is running OpenJDK 17 without OpenJ9.

FalcoG avatar Jan 29 '22 11:01 FalcoG

We've updated the runtime to be platform-independent. The same plugin jar file can run on any platform now.

connerdouglass avatar Jun 20 '24 18:06 connerdouglass