Problem: installing jme2 using netbeans 6.5

Hi

Im following the tutorial on

http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_netbeans_6.1_for_jme_2.0



Im stuck at step: compiling jme2 :

          Right click jME2 project → Click Clean and build.



and having an error:



clean:

init:

jmeKeyStore

Created dir: C:Program FilesJavajME2jME2build

Created dir: C:Program FilesJavajME2jME2datadoc

compile:

Created dir: C:Program FilesJavajME2jME2buildcom

Copying 40 files to C:Program FilesJavajME2jME2buildcom

Copied 117 empty directories to 88 empty directories under C:Program FilesJavajME2jME2buildcom

Compiling 1483 source files to C:Program FilesJavajME2jME2build

C:Program FilesJavajME2jME2srccomjmescenestateGLSLShaderObjectsState.java:75: cannot find symbol

symbol  : class ShaderVariableMatrix4Array

location: package com.jme.util.shader.uniformtypes

import com.jme.util.shader.uniformtypes.ShaderVariableMatrix4Array;

C:Program FilesJavajME2jME2srccomjmesystemDisplaySystem.java:41: warning: sun.misc.Service is Sun proprietary API and may be removed in a future release

import sun.misc.Service;

C:Program FilesJavajME2jME2srccomjmesystemDisplaySystem.java:42: warning: sun.misc.ServiceConfigurationError is Sun proprietary API and may be removed in a future release

import sun.misc.ServiceConfigurationError;

C:Program FilesJavajME2jME2srccomjmesystemDisplaySystem.java:192: warning: sun.misc.ServiceConfigurationError is Sun proprietary API and may be removed in a future release

            throws ServiceConfigurationError {

C:Program FilesJavajME2jME2srccomjmesystemDisplaySystem.java:195: warning: sun.misc.Service is Sun proprietary API and may be removed in a future release

            Iterator<SystemProvider> displayProviders = Service.providers(SystemProvider.class);

C:Program FilesJavajME2jME2srccomjmeutilloggingBetterFormatter.java:22: warning: sun.security.action.GetPropertyAction is Sun proprietary API and may be removed in a future release

            .doPrivileged(new sun.security.action.GetPropertyAction(

C:Program FilesJavajME2jME2srccomjmexxmltypesSchemaBase64Binary.java:57: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release

            value = new sun.misc.BASE64Decoder().decodeBuffer(newvalue);

                                ^

C:Program FilesJavajME2jME2srccomjmexxmltypesSchemaBase64Binary.java:85: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release

    String sResult = new sun.misc.BASE64Encoder().encode(value);

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 error

7 warnings

C:Program FilesJavajME2jME2build.xml:54: Compile failed; see the compiler error output for details.

BUILD FAILED (total time: 20 seconds)



can anyone help me out with this?

thanks!

Ok… i guess I found the problem:



There is an erroneous import statement in GLSLShaderObjectsState class that should be deleted:



import com.jme.util.shader.uniformtypes.ShaderVariableMatrix4Array;



I hope that the jme developers will fix the GLSLShaderObjectsState class in the repository

That was fixed (r4110)…