yikuang / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

Building wave-protocol on debian lenny #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

$ hg clone https://wave-protocol.googlecode.com/hg/ wave-protocol
...

wave-protocol$ ant dist
Buildfile: build.xml

init:

proto_compile:

compile:
    [javac] Compiling 169 source files to wave-protocol/build/core
    [javac] Compliance level '1.4' is incompatible with target level '1.5'.
A compliance level '1.5' or better is required

BUILD FAILED
wave-protocol/build.xml:68: Compile failed; see the compiler error output
for details.

Total time: 1 second

Original issue reported on code.google.com by momchi...@gmail.com on 14 Sep 2009 at 9:59

GoogleCodeExporter commented 9 years ago
What JDK are you using to build?

Original comment by JamesRPu...@gmail.com on 14 Sep 2009 at 10:41

GoogleCodeExporter commented 9 years ago
You need to switch to a newer version of Java. Google for "Java 1.6 Debian 
Lenny", 
there's plenty of information out there.

Original comment by anthonybaxter@gmail.com on 15 Sep 2009 at 2:48

GoogleCodeExporter commented 9 years ago
To solve this issue I did:
step 1) install java 1.6:
aptitude install sun-java6-jdk sun-java6-jre
step 2) select which java to use:
update-alternatives --config java 
(On the list I selected /usr/lib/jvm/java-6-sun/jre/bin/java)
Done.

Original comment by momchi...@gmail.com on 15 Sep 2009 at 12:04

GoogleCodeExporter commented 9 years ago
closing as 'WontFix', since it's working for you. Joe, you might want to make 
sure the 
docs are clear in this area...

Original comment by anthonybaxter@gmail.com on 15 Sep 2009 at 1:50