I'm attempting to install Ice 3.4.2 for Java on my Ubuntu 11.04 system. I am compiling from source. I'm also using Java 7, update 1. Compilation fails with the following:
This smells like a Java 7 problem to me. I did successfully compile Ice 3.4.2 for Java on a different Ubuntu 10.10 system using Java 6. Can someone confirm that Java 7 is not supported by Ice for Java at this time? If that is the case, is there a time line for when it will be supported?Code:ice-compile: [mkdir] Created dir: /usr/local/src/Ice-3.4.2/java/depcache [javac] Compiling 1228 source files to /usr/local/src/Ice-3.4.2/java/lib [javac] /usr/local/src/Ice-3.4.2/java/src/IceInternal/OutgoingConnectionFactory.java:20: error: name clash: put(K#1,V#1) in MultiHashMap and put(K#2,V#2) in HashMap have the same erasure, yet neither overrides the other [javac] put(K key, V value) [javac] ^ [javac] where K#1,V#1,K#2,V#2 are type-variables: [javac] K#1 extends Object declared in class MultiHashMap [javac] V#1 extends Object declared in class MultiHashMap [javac] K#2 extends Object declared in class HashMap [javac] V#2 extends Object declared in class HashMap [javac] 1 error
Thanks and keep up the good work. Ice is a great system.
Peter

Reply With Quote