(1) Create a Java Project(2) Include as project libraries all the jars in the SGS sdk lib directory except sgs-client.jar(3) Include as a project library the db.jar in the sdk lib/db directory(4) Set the native directory for the db.jar to the appropriate sub directory of lib/db for your OS.(5) Create an application config .properties file (eg foo.properties). You can look at HelloWorld.properties in the tutorial for an example. Paths can be relative. If so, make sure they are relative to your working directory for the project.(6) Create a run configuration with the following information:

Add your application config file as the sole parameters to the application

That *should* do it. Let me know if you see any problems.

Edit: Pls be aware that in the 0.9 version you need to manually create a directory named "dsdb" in your application root. (The application root is set in the application config properties file) If you don't the database will exception on start-up. This is a known annoyance that is on our list to rectify.

JK

Got a question about Java and game programming? Just new to the Java Game Development Community? Try my FAQ. Its likely you'll learn something!

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org