Cannot add the lib to classpath :(

"For JME3 Users – Writing Games



You want to write your own 3D game? When using the jMonkeyPlatform

You haven't even added all libraries to your project yet and are already searching project members? xD

Dont know which version you have downloaded, but if you have a "jMonkeyProjects" folder on your disk it seems you have downloaded and started jMonkeyPlatform. If you want to use the libraries supplied with that in another IDE, they are in the jmonkeyplatform/libs folder. If you use jMonkeyPlatfomr itself, theres noting to do.

Cheers,

Normen

XD I know. Im a bit unstructured…

But first I was going to use jme3 for my game

then it didnt work, so I used jme2 until I got sick of the

characternode which didnt work well, it sorta collided with the inside of physics objects -.-



So Now im back to jme3.

I learn fast so I belive there wont be any serious problems working

with jme3 from now on.



Besides, I got a enviroment modeler :smiley:

Humm… It doesnt seem to work…

I use the TestPhysicsCharacter java to see if its all installed, but it says:

com.jme3.input.controls.KeyTrigger; doesnt exsist…



I did as you said, I found the jMonkeyPlatform/lib folder in my netbeans IDE.

So I added all the jars:

jMonkeyEngine3.jar

jBullet.jar

jogl.jar

etc.jar :stuck_out_tongue:



but it still says that the import doesnt exsist…

Some days ago someone had the same problem:

http://www.jmonkeyengine.com/forum/index.php?topic=14483.0



I hope the answer is in there as I didn't read it :smiley:

Addez said:

But first I was going to use jme3 for my game then it didnt work, so I used jme2 until I got sick of the
characternode which didnt work well, it sorta collided with the inside of physics objects -.-
So Now im back to jme3.

Neat display of your debugging skills }:-@

:stuck_out_tongue: Thanks normen!



And yea ttrocha, that link helped alot :smiley:

Now I made a new project in the jme ide.

I added the jars from lib + the jmonkeyengine.jar to my project lib

So now I dont get that missing import error!



But Instead Im getting real weard errors on places like this:

inputManager.addMapping("Lefts", new KeyTrigger(KeyInput.KEY_H));

Saying:

cannot find symbol



Ehh… what symbol? I meen, its a method no symbol…

So, I almoste fixed it :confused:

I replaced all jars in the netbeans jme lib folder with the new ones from

the nighty package.

Yet I get error just a little bit further down:

inputManager.addListener(this, "shoot");

it got TestPhysicsCharacter, String

but it needs inputListener, String[]



How can this test example fail so brutaly?

Actually, that particular method uses varargs, so you can specify one or more string values. Are you using JDK 1.5 by any chance?