Skip to main content

Setup Java

To use the Bayes Server Java API from follow the steps below to create and build a new Java project:

  • Create a new Java project in your favorite IDE (e.g. IntelliJ IDE)
  • Download the Bayes Server Java API
  • Add a reference to the Bayes Server Java API BayesServer.jar
  • Replace the Main function in your new Java project with the Main function from one of the Java examples in the code center.
  • Build and run the project

You can also call the Bayes Server Java API from other JVM languages such as Scala.