https://help.ubuntu.com/community/Java

 

java虚拟机使用的是ubuntu默认的。需要现安装jdk1.5.0,然后在调用

  • Open a Terminal window
  • Run sudo update-java-alternatives -l to see the current configuration and possibilities.

  • Run sudo update-java-alternatives -s XXXX to set the XXX java version as default. For Sun Java 6 this would be sudo update-java-alternatives -s java-6-sun

  • Run java -version to ensure that the correct version is being called.

之后make即可

 

 

PS:eclipse的ADT插件也需要是标准的JAVA才行

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-07-15
  • 2021-09-18
猜你喜欢
  • 2021-10-19
  • 2021-08-01
  • 2022-12-23
  • 2021-09-23
  • 2021-08-17
  • 2021-09-13
  • 2021-10-11
相关资源
相似解决方案