Need help with FixedFramerateGame

Hi guys,



When trying to run an empty implementation of BaseGame or FixedFramerateGame, I get the following:



20/07/2005 20:21:18 com.jme.app.FixedFramerateGame start
INFO: Application started.
20/07/2005 20:21:18 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
20/07/2005 20:21:18 com.jme.system.PropertiesIO load
INFO: Read properties
java.lang.NoSuchMethodError: org.lwjgl.Sys.setProcessPriority(I)V
        at com.jme.util.lwjgl.LWJGLTimer.<init>(Unknown Source)
        at com.jme.util.Timer.getTimer(Unknown Source)
        at com.jme.app.FixedFramerateGame.start(Unknown Source)
        at net.java.dev.bta.engine.GameEngine.main(GameEngine.java:92)
20/07/2005 20:21:18 com.jme.app.FixedFramerateGame start
INFO: Application ending.
Exception in thread "main" java.lang.NullPointerException
        at com.jme.app.FixedFramerateGame.start(Unknown Source)
        at net.java.dev.bta.engine.GameEngine.main(GameEngine.java:92)
Java Result: 1



I can't understand the reason... All I can say is that I have the latest (and most stable) release of LWJGL, I got it yesterday from their website. Does jME uses an older release?

Sorry if this post is not meant for these forums :/

Son Of Cain

Well, a team member got the jme jars for our project (jme.jar, jme-ui.jar and a few others). It's all working fine with LWJGL .97.

Thanks for the help and the attention provided! Nice community, this one!



Son Of Cain

No, I just got the .jar from the jME's project page at java.net, and the LWJGL .jar separetely.

Did you compile jME from cvs source?  if so, .97 lwjgl should work fine.

That would be why.  The jar is from the beginning of the year, thus it is compatible with lwjgl of the same time frame.  I believe that was .94

Is downloading the CVS code the only means of getting the current stable jME release? Can I get an updated .jar file without having to download your java.net's code and compile it? I would like to avoid that, if possible.

I'd just like to note that older LWJGL versions are still available on:



http://sourceforge.net/project/showfiles.php?group_id=58488

Son Of Cain said:

Is downloading the CVS code the only means of getting the current stable jME release?


Yes. However there is a great guide on how to do this.
Per said:

Son Of Cain said:

Is downloading the CVS code the only means of getting the current stable jME release?


Yes. However there is a great guide on how to do this.


But it's not quite "stable". I mean, it is the development version.

True…

That’s the reason why I didn’t want to grab it from CVS :smiley:

I’m also a java.net user, I have a small project in their game forge. So downloading the code from their CVS is no big deal, but I would like to stick to a “stable” version, compatible with LWJGL .97. I know that I might be asking for too much :D, but if anyone could provide me a more “updated” .jar of the jME (or show me where to find it), I would appreciate it. My e-mail is this one: rodrigogh@brturbo.com.br



Thanks for the help guys!



[edit: ugly typos :confused: ]