Hi guys,
I have the following problem when I try to compile:
Buildfile: C:Usersivoeclipseworkspacejmebuild.xml
init:
[echo] jmeKeyStore
compile:
[javac] Compiling 1385 source files to C:Usersivoeclipseworkspacejmebuild
[javac] C:UsersivoeclipseworkspacejmesrccomjmesystemDisplaySystem.java:41: warning: sun.misc.Service is Sun proprietary API and may be removed in a future release
[javac] import sun.misc.Service;
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmesystemDisplaySystem.java:42: warning: sun.misc.ServiceConfigurationError is Sun proprietary API and may be removed in a future release
[javac] import sun.misc.ServiceConfigurationError;
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmesystemDisplaySystem.java:187: warning: sun.misc.ServiceConfigurationError is Sun proprietary API and may be removed in a future release
[javac] throws ServiceConfigurationError {
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmeanimationExample5.java:26: cannot find symbol
[javac] symbol : method addKeyboardAction(java.lang.String,int,com.jme.animation.Example5.MoveShape)
[javac] location: class com.jme.input.InputHandler
[javac] input.addKeyboardAction("moveSphere", KeyInput.KEY_K, new MoveShape());
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmeanimationExample5.java:27: cannot find symbol
[javac] symbol : method addKeyboardAction(java.lang.String,int,com.jme.animation.Example5.MoveShape)
[javac] location: class com.jme.input.InputHandler
[javac] input.addKeyboardAction("moveBox", KeyInput.KEY_L, new MoveShape());
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmeanimationExample5.java:33: cannot find symbol
[javac] symbol : method setAllowsRepeats(boolean)
[javac] location: class com.jme.animation.Example5.MoveShape
[javac] setAllowsRepeats(false);
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmeanimationExample5.java:42: cannot find symbol
[javac] symbol : method isKeyDown(int)
[javac] location: class com.jme.input.action.InputActionEvent
[javac] if (e.isKeyDown(KeyInput.KEY_K))
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmeanimationExample5.java:49: cannot find symbol
[javac] symbol : method isKeyDown(int)
[javac] location: class com.jme.input.action.InputActionEvent
[javac] else if (e.isKeyDown(KeyInput.KEY_L))
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmesystemDisplaySystem.java:189: warning: sun.misc.Service is Sun proprietary API and may be removed in a future release
[javac] Iterator displayProviders = Service.providers(SystemProvider.class);
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmeutilloggingBetterFormatter.java:22: warning: sun.security.action.GetPropertyAction is Sun proprietary API and may be removed in a future release
[javac] .doPrivileged(new sun.security.action.GetPropertyAction(
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmexxmltypesSchemaBase64Binary.java:57: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
[javac] value = new sun.misc.BASE64Decoder().decodeBuffer(newvalue);
[javac] ^
[javac] C:UsersivoeclipseworkspacejmesrccomjmexxmltypesSchemaBase64Binary.java:85: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
[javac] String sResult = new sun.misc.BASE64Encoder().encode(value);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 5 errors
[javac] 7 warnings
BUILD FAILED
C:Usersivoeclipseworkspacejmebuild.xml:46: Compile failed; see the compiler error output for details.
line 46 in the build.xml is:
<javac source="1.5" target="1.5" srcdir="${src}/com" destdir="${class}" classpathref="classpath" listfiles="no" fork="true" memoryMaximumSize="256m" />
I followed the instructions in the seting up eclipse tutorial:
http://www.jmonkeyengine.com/wiki/doku.php?id=setting_up_eclipse_to_build_jme#the_visual_guide
I think I have it set up correctly, but I have been wrong before :D.
I have the 6 jar files included, and I am using the JDK1.6.0_02
I spent all day trying to figure it out, but I can't. May be it is a very simple question to someone who knows what he is doing
thanks
There is no class named Example5 in CVS. Did you install it over an old version? You can simply delete Example5.java, I guess.