I’m having trouble getting the JME platform to start on Windows7 on my Lenovo W520 laptop. It has an NVIDIA NV1000, which may or may not be sufficient. Does the platform generate and logfiles when it starts up? It sits there saying it is loading modules, it chews up 13% CPU but the memory usage doesn’t increase and it doesn’t do anything after 5 minutes. Thanks
I loaded Netbeans without the JME platform running and it starts. However, the JME platform now stalls at “Done loading modules”. Still trying to locate the log files.
I added logging to the command line and I see this:
** SNIPPED **
@1335 - ModuleInstaller.prepare com.jme3.gde.blender finished, took 0ms
@1335 - bringing up classloader on com.jme3.gde.assetpack started
@1336 - bringing up classloader on com.jme3.gde.assetpack finished, took 1ms
@1336 - ModuleInstaller.prepare com.jme3.gde.assetpack started
@1336 - ModuleInstaller.prepare com.jme3.gde.assetpack finished, took 0ms
@1337 - bringing up classloader on com.jme3.gde.angelfont started
@1337 - bringing up classloader on com.jme3.gde.angelfont finished, took 0ms
@1337 - ModuleInstaller.prepare com.jme3.gde.angelfont started
@1337 - ModuleInstaller.prepare com.jme3.gde.angelfont finished, took 0ms
@1337 - bringing up classloader on com.jme3.gde.android started
@1337 - bringing up classloader on com.jme3.gde.android finished, took 0ms
@1338 - ModuleInstaller.prepare com.jme3.gde.android started
@1338 - ModuleInstaller.prepare com.jme3.gde.android finished, took 0ms
@1338 - module preparation finished, took 329ms
@1393 - META-INF/services/ additions registered dT=55
@1393 - NbInstaller.load started
@1447 - setURLs started
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/jmonkeyplatform/jmonkeyplatform/modules/com-jme3-gde-core-libraries
.jar!/com/jme3/gde/core/libraries/layer.xml
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/jmonkeyplatform/jmonkeyplatform/modules/com-jme3-gde-core-baselibs.
jar!/com/jme3/gde/core/baselibs/layer.xml
WARNING [org.netbeans.core.projects.cache]: layer jar:file:/C:/jmonkeyplatform/jmonkeyplatform/modules/com-jme3-gde-core.jar!/com/jme3/gde/core/layer.xml contains duplicate at
tributes instanceCreate for Actions/SceneComposer/com-jme3-gde-core-sceneviewer-actions-SwitchFrontViewAction.instance
WARNING [org.netbeans.core.projects.cache]: layer jar:file:/C:/jmonkeyplatform/jmonkeyplatform/modules/com-jme3-gde-core.jar!/com/jme3/gde/core/layer.xml contains duplicate fi
les named Actions/SceneComposer/com-jme3-gde-core-sceneviewer-actions-SwitchFrontViewAction.instance
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/jmonkeyplatform/jmonkeyplatform/modules/com-jme3-gde-welcome.jar!/c
om/jme3/gde/welcome/layer.xml
Bah. I pointed JME at the installed JDK and it seemed to work. I can create a project, it is created on disk, but JME refuses to show it in the project list.
I can manually load the newly created project, but it won’t run. If I run the app using Debug, I don’t see the dialog for choosing resolution. I do get the dialog if I Run the application, I can select a resolution but no subsequent OpenGL window appears.
So maybe it doesn’t like my graphics card, even though Unity3D and the Unreal SDK run fine. The output from the basic app is:
init:
Deleting: C:UsersmikeDocumentsNetBeansProjectstest_serverbuildbuilt-jar.properties
deps-jar:
Updating property file: C:UsersmikeDocumentsNetBeansProjectstest_serverbuildbuilt-jar.properties
compile:
run:
May 7, 2012 10:25:26 AM com.jme3.system.JmeSystem initialize
INFO: Running on jMonkeyEngine 3.0.0 Beta
May 7, 2012 10:25:26 AM com.jme3.system.Natives getExtractionDir
WARNING: Working directory is not writable. Using home directory instead.
May 7, 2012 10:25:26 AM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: C:Usersmike.jme3natives_580b73a7
May 7, 2012 10:25:26 AM com.jme3.system.lwjgl.LwjglAbstractDisplay run
INFO: Using LWJGL 2.8.1
May 7, 2012 10:25:26 AM com.jme3.system.lwjgl.LwjglDisplay createContext
INFO: Selected display mode: 800 x 600 x 0 @0Hz
The working directory (so the project folder) is not writable for some reason, you installed the SDK with some admin account?
I used my normal account but I installed to c:jmonkeyengine.
…the project folder… check its user rights and the user you run the app with. idk how to do that in windows, sorry.
That’s a warning, I can’t see why that would affect anything. It just writes the config to my home directory instead of the installation directory. Looks like I’ll have to give up on JME - I’ve tried so many things, and nothing works. Thanks.
@stodge said:
That's a warning, I can't see why that would affect anything.
..and because you know you don't see everything you come here, right? Your project folder cannot be properly written from the user that executes the application, for whatever strange OS-based reason. Thats why the binary (not "config") cannot be written to that folder. This obviously can lead to all kinds of problems (the folder being readonly).
You seem to be using an old version of jME3, the lwjgl is still 2.8.1 while we already moved to 2.8.3.
That warning shouldn’t matter, but just for safety I recommend deleting all files in that folder that is printed in the log since older versions of jME3 didn’t extract to it correctly.
The problem was nothing to do with permissions. I changed the BIOS setting for the graphics card from Discrete to Optimus and it now works.