在ubuntu上安装jdk,然后网上大部分相同的教程配置,结果运行java,javac,java -version总是出现莫名奇妙的问题. 原先配置完之后,运行java -version后出现下面内容 The program 'java' can be found in the following packages: * default-jre * gcj-4.8-jre-headless * openjdk-7-jre-headless * gcj-4.6-jre-headless * ope
Oracle对Jdk7与Jre7的关系的经典图解 Oracle has two products that implement Java Platform Standard Edition(Java SE)7:Java SE Development Kit(JDK)7 and Java SE Runtime Environment(JRE)7. JDK 7 is a superset of JRE 7,and contains everything that is in JRE 7,plus t
报错问题出现原因 第一次使用Ubuntu操作系统,很多命令及软件安装方式与以往使用的Linux操作系统(CentOS)有很大区别.现在总结使用Ubuntu在安装JDK中,遇到的问题及解决方法. root@slave1:~/hadoop# rpm -i jdk-7u80-linux-x64.rpm rpm: RPM should not be used directly install RPM packages, use Alien instead!rpm: However assuming yo