Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (582)
Games in Android Showcase (163)
games submitted by our members
Games in WIP (633)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  First example of tutorial (HelloWorld) not running ...  (Read 4036 times)
0 Members and 1 Guest are viewing this topic.
Offline MKM

Junior Newbie

« Posted 2005-08-02 13:41:10 »


I'm new to jME and and tried do the tut (the pdf), begining with the super simple HelloWorld example...but it does not run. To be more precise once launched, the jme dialog appears, i do the selection, the i get a full (black) screen, then the program dies, on the console i got the following :

E:\MKM\Projets\testJME>java -cp ".;E:/MKM/Projets/testJME/JME/jme.jar;E:/MKM/Projets/testJME/lwjgl/jar/lwjgl.jar;" -Djava.library.path="E:/MKM/Projets/testJME/lwjgl/native" HelloWorld
2 ao�t 2005 15:25:39 start
INFO: Application started.
2 ao�t 2005 15:25:39 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
2 ao�t 2005 15:25:39 com.jme.system.PropertiesIO load
INFO: Read properties
2 ao�t 2005 15:25:45 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
2 ao�t 2005 15:25:45 com.jme.system.PropertiesIO save
INFO: Saved properties
2 ao�t 2005 15:25:45 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
java.lang.NoSuchFieldError: GL_ARB_multitexture
   at com.jme.scene.state.lwjgl.LWJGLTextureState.<init>(Unknown Source)
   at com.jme.renderer.lwjgl.LWJGLRenderer.<init>(Unknown Source)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(Unknown Source)
   at Source)
   at Source)
   at HelloWorld.main(

2 ao�t 2005 15:25:46 cleanup
INFO: Cleaning up resources.
2 ao�t 2005 15:25:46 com.jme.input.InputSystem getKeyInput
ATTENTION: KeyInput is null, insure that a call to createInputSystem was made before getting the devices.
2 ao�t 2005 15:25:46 com.jme.input.InputSystem getMouseInput
ATTENTION: MouseInput is null, insure that a call to createInputSystem was made before getting the devices.
2 ao�t 2005 15:25:46 start
INFO: Application ending.

The program is exactly the same as the one of the tut, and when i check the lwjgl doc the GL_ARB_multitexture field exists.
I use the jME 0.8 and the lwjgl 0.97alpha.

Maybe i've missed something but I can't figure what  Huh  Huh  Huh

Thank in advance for any tip / answer.
[note : the demos on the jME site run without problem on my machine when launched in the browser]

p.s. the source of the example :
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 HelloWorld extends SimpleGame
  public static void main(String[] args)
    HelloWorld app = new HelloWorld(); // Create Object
    // Signal to show properties 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
Offline MKM

Junior Newbie

« Reply #1 - Posted 2005-08-02 14:17:35 »

Ok, it's me again :
- first for jME problem go to :
- for the problem above use the Nightly Builds from jME home.
With that version everything goes well.
Offline Mojomonkey

Senior Devvie

ooh ooh eee eeee

« Reply #2 - Posted 2005-08-02 17:07:05 »

I use the jME 0.8 and the lwjgl 0.97alpha.

jME 0.8 is only compatible with LWJGL 0.94, so try getting the nightly build as mkm said. Or downgrade lwjgl.

Don't send a man to do a monkey's work.
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Gibbo3771 (11 views)
2015-05-29 06:54:17

Ralphanese (20 views)
2015-05-28 16:52:52

theagentd (31 views)
2015-05-27 22:21:17

theagentd (35 views)
2015-05-27 22:21:08

CopyableCougar4 (25 views)
2015-05-27 19:24:50

MrMapcom (24 views)
2015-05-23 20:26:16

MrMapcom (32 views)
2015-05-23 20:23:34

Waterwolf (37 views)
2015-05-20 15:01:45

chrislo27 (44 views)
2015-05-20 03:42:21

BurntPizza (79 views)
2015-05-10 15:53:18
Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02 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‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!