我修改了 open-jdk-6 中的源文件,现在想重建它。所有指南都指出构建过程是通过 完成的make
。但是我没有看到任何 Makefile 或目标。
$ pwd
/usr/lib/jvm/java-6-openjdk-amd64
$ ls
ASSEMBLY_EXCEPTION com docs java jre lib org src.zip sunw
bin demo include javax launcher man sample sun THIRD_PARTY_README
我正在使用 Ubuntu-AMD64
更新
我已经按照 dpkg 命令安装了源
$ dpkg -l | grep jdk
ii openjdk-6-dbg 6b30-1.13.1-1ubuntu2~0.12.04.1 Java runtime based on OpenJDK (debugging symbols)
ii openjdk-6-demo 6b30-1.13.1-1ubuntu2~0.12.04.1 Java runtime based on OpenJDK (demos and examples)
ii openjdk-6-jdk 6b30-1.13.1-1ubuntu2~0.12.04.1 OpenJDK Development Kit (JDK)
ii openjdk-6-jre 6b30-1.13.1-1ubuntu2~0.12.04.1 OpenJDK Java runtime, using Hotspot JIT
ii openjdk-6-jre-headless 6b30-1.13.1-1ubuntu2~0.12.04.1 OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-6-jre-lib 6b30-1.13.1-1ubuntu2~0.12.04.1 OpenJDK Java runtime (architecture independent libraries)
ii openjdk-6-source 6b30-1.13.1-1ubuntu2~0.12.04.1 OpenJDK Development Kit (JDK) source files