Install JME SDK on headless buildserver

Hello,

Has anyone had any experience installing the jme sdk on a headless PC?

I want to install it on a ubuntu linux build server, but the installer clearly doesn’t have a no-ui mode:

root@pulsar:/opt# ./jme3.sh
Configuring the installer…
Searching for JVM on the system…
Preparing bundled JVM …
Extracting installation data…
Running the installer wizard…
Can`t initialize UI
Running in headless mode
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

Exception: java.awt.HeadlessException thrown from the UncaughtExceptionHandler in thread “main”

It doesn’t work. But what would be the purpose of installing the SDK on a computer where you cannot use it anyway?

Are you familiar with the concept of a build server? It creates the packages to be used on OTHER computers.

Obviously I am, otherwise you couldn’t download the SDK or get updates for it :slight_smile:

Thats also why I wonder what you intend to do. You don’t need the whole SDK to build a jME project, just ANT and the jME jar files, check the build.properties file in the SDK settings folder to see what properties you have to supply to the ANT build process.

Yes, I agree its not that hard. Just get the required jars in the right place.

Well I am happy you were so easily convinced.

Well one purpose could be to build SDK-plugins. I had some problems with that but it has been a while since then so it might be simpler now.

the gradle build can build the sdk as well, so you could probably plug your own plugins in the build after that.

Empire Phoenix said: the gradle build can build the sdk as well, so you could probably plug your own plugins in the build after that.
That's perfect, thanks for the great work Normen.
1 Like