-
Download the packages intended for your architecture:
(for most users, this means amd64 if 64bit, or i386 if 32bit Ubuntu is installed)- openjdk-7-jdk
- openjdk-7-jre
- openjdk-7-jre-headless
- libjpeg62-turbo
- libfontconfig1
- fontconfig-config
-
(Attempt to) install the packages using
dpkg:sudo dpkg -i openjdk-7-* libjpeg62-turbo* libfontconfig1* fontconfig-config*
3. Use following command, it will install openjdk-11. Then run command in step 2.
sudo apt --fix-broken install
4. Set openjdk-7 as default
update-java-alternatives --list
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
5. sudo update-alternatives --config java 选择正确的java
内容转自:https://blog.csdn.net/wanghuasn911/article/details/80155648
最后
以上就是高大老鼠最近收集整理的关于Ubuntu 18.04 install openjdk-7 to build Android5.0的全部内容,更多相关Ubuntu内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复