vanpersie@ubuntu:~/myandroid$ java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
同问,谁解决过呀,会share一下~
编译源码必须是JDK5 ,6是不支持的。
Ubuntu Linux (32-bit x86) To set up your Linux development environment, make sure you have the following: * Required Packages: o Git 1.5.4 or newer and the GNU Privacy Guard. o JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override. o flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl. $ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev * You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc. $ sudo apt-get install valgrind * Intrepid ( 8.10) users may need a newer version of libreadline:$ sudo apt-get install lib32readline5-dev
vanpersie@ubuntu:~/myandroid$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
To set up your Linux development environment, make sure you have the following: * Required Packages:
o Git 1.5.4 or newer and the GNU Privacy Guard. o JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override. o flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl. $ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev * You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc. $ sudo apt-get install valgrind * Intrepid ( 8.10) users may need a newer version of libreadline:$ sudo apt-get install lib32readline5-dev