Fedora Core 10下面用的JDK是OpenJDK,编译的时候出了个错误
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
|
后来从sun网站上下了个jdk,就可以了
jdk-1_5_0_22-linux-i586.bin
然后直接
[liuqi@T-bagwell mydroid]$ ./jdk-1_5_0_22-linux-i586.bin
接着会给Licences,同意就会安装到本地了,解压了一个目录
export PATH=/Work/mydroid/jdk1.5.0_22/bin:$PATH
就可以了
阅读(4349) | 评论(0) | 转发(0) |