Compilation of rosjava fails. [closed]
I am trying to compile rosjava and did: roscd rosjava; rosmake. And got the following error message:
compile:
[javac] Compiling 80 source files to /home/tompe/ros/rosjava_core/rosjava/target/classes
[javac] /home/tompe/ros/rosjava_core/rosjava/src/main/java/org/ros/internal/message/old_style/MessageSerializationFactory.java:38: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds MessageType,java.lang.Object
[javac] MessageType message = messageFactory.newMessage(messageType);
[javac] ^
[javac] /home/tompe/ros/rosjava_core/rosjava/src/main/java/org/ros/internal/message/old_style/MessageSerializationFactory.java:52: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds MessageType,java.lang.Object
Any ideas? Are using jdk1.6.0_17.