Java worker SDK
The Java worker SDK allows anyone to write a worker in Java to connect to a SpatialOS simulated world. Like any other worker, a Java worker can subscribe to information for a part of a simulated world, visualize it, and perform some computation on behalf of the simulated world.
A typical Java worker makes use of both the core API defined in
the improbable.worker
package, and Java generated code
based on the user-specified simulated world schema.
If you’re using a game engine we don’t have an integration with, you can use this SDK (or one of the other language SDKs) to integrate that game engine with SpatialOS.
Requirements
- JDK 1.6 or later. We recommend using
Oracle’s JDK
1.8
. - Gradle
2.14
or later.
- Please note that the Gradle Wrapper is not supported by provided build scripts.
- We’ve tested against Gradle version
2.14
, but later versions are expected to work too. To install it:- macOS:
brew install gradle
- Windows:
choco install --yes gradle
- macOS: