"junit" library must be defined - after fresh install

Hi guys, I’m a complete noob and am sorry if this is a really stupid question.



I’ve just installed jME. Started off by installing the JDK version 6 as per the requirements, and then installed jME. I then went to the tutorial page (here - https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_simpleapplication) and followed the instructions. After creating the project I was greeted with an error dialog.



The dialog has the title “Resolve Reference Problems” and contains two errors -



“junit” library (in HelloWorldTutorial) must be defined

“junit_4” library (in HelloWorldTutorial) must be defined



Not sure what to do to fix this. Any suggestions would be greatly appreciated!



Running Windows 7 64 bit.



Thanks, Matt

1 Like

PS I should point out that I tried clicking on the “Resolve” button next to each error, but all I got was a message saying ““junit” library has not been downloaded”

Which version of the SDK are you using?

@zarch said:
Which version of the SDK are you using?


I originally tried the latest version of SDK 7. Then I uninstalled both jME and the SDK, and tried the most recent version of SDK 6. In both cases the same problem occurred.

Oh hang on, you mean the SDK, not the JDK. I guess those are two different things.

Sorry, I meant the JME SDK. Are you using RC2 (released yesterday) or the Beta (released earlier this year).

@zarch said:
Sorry, I meant the JME SDK. Are you using RC2 (released yesterday) or the Beta (released earlier this year).


Ah cool. I'm using the most recent release, RC2. Do you think it would be better to use the older one?

Just update it, as written in the release post:

http://hub.jmonkeyengine.org/2012/10/03/jmonkeyengine3-sdk-rc2-released/

1 Like
@normen said:
Just update it, as written in the release post:
http://hub.jmonkeyengine.org/2012/10/03/jmonkeyengine3-sdk-rc2-released/


Thanks for the info, it solved the problem nicely!
@normen said:
Just update it, as written in the release post:
http://hub.jmonkeyengine.org/2012/10/03/jmonkeyengine3-sdk-rc2-released/


hi normen. i've just download the one u said (SDK RC2), and installed it. but still i have the same problem as wildtype got:

“junit” library (in HelloWorldTutorial) must be defined
“junit_4″ library (in HelloWorldTutorial) must be defined

any idea?

Read the post :roll:

2 Likes
@normen said:
Read the post :roll:


ahh yes. it works fine now. thanks! ;)
1 Like