Problems with installing jme

hi guys i ve got some trouble with installing jme. first of all i m too stupid to use wincvs and therefore i cant handle the getting started tutorial :confused:

so i downloaded these files:

https://jme.dev.java.net/servlets/ProjectDocumentList?folderID=418&expandFolder=418&folderID=0

http://www.jmonkeyengine.com/index.php?option=com_content&task=view&id=59&Itemid=71



and tried to use them like normal libaries i setted the classpath in the system properties to them but i recieved still errors that the libarys dont exist

then i compiled with the same classpath using javac -cp "classpath" … now i could compile it but when i tried to execute it but then i got a no def class found error exception

when i tried to start the programm with eclipse i got the following error:



11.01.2007 13:46:31 com.jme.app.BaseGame start

INFO: Application started.

11.01.2007 13:46:31 com.jme.system.PropertiesIO <init>

INFO: PropertiesIO created

11.01.2007 13:46:31 com.jme.system.PropertiesIO load

WARNUNG: Could not load properties. Creating a new one.

java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at org.lwjgl.Sys$1.run(Sys.java:72)

at java.security.AccessController.doPrivileged(Native Method)

at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)

at org.lwjgl.Sys.loadLibrary(Sys.java:81)

at org.lwjgl.Sys.<clinit>(Sys.java:98)

at org.lwjgl.opengl.Display.<clinit>(Display.java:103)

at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)

at com.jme.app.AbstractGame.getAttributes(Unknown Source)

at com.jme.app.BaseGame.start(Unknown Source)

at World.main(World.java:15)

11.01.2007 13:46:31 com.jme.app.BaseSimpleGame cleanup

INFO: Cleaning up resources.

11.01.2007 13:46:31 com.jme.system.lwjgl.LWJGLDisplaySystem <init>

INFO: LWJGL Display System created.

11.01.2007 13:46:31 com.jme.app.BaseGame start

INFO: Application ending.



i tested it with this source cod:

import com.jme.app.SimpleGame;

import com.jme.scene.shape.Box;

import com.jme.math.Vector3f;

/**

  • Started Date: Jul 20, 2004<br><br>
  • Simple HelloWorld program for jME

    *
  • @author Jack Lindamood

    */

    public class World extends SimpleGame{

    public static void main(String[] args) {

      World app = new World(); // Create Object

      // Signal to show properties dialog

      app.setDialogBehaviour(SimpleGame.ALWAYS_SHOW_PROPS_DIALOG);

      app.start(); // Start the program

    }

    protected void simpleInitGame() {

      // Make a box

      Box b = new Box("Mybox", new Vector3f(0,0,0), new Vector3f(1,1,1));

      rootNode.attachChild(b); // Put it in the scene graph

    }

    }



    i would be greatful if there is anyone who could help me :slight_smile:



    mfg creed

you need the dll files in your java library path.



on the command line specify -Djava.library.path= and then specify the directory containing the dlls



HTH



Endolf

http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme#the_visual_guide

http://jmonkeyengine.com/mark/?p=162

allright thanks a lot now it works :slight_smile: