Ubuntu 7.10下配置Java环境补充笔记(图)

Linux公社已经介绍了许多关于在Ubuntu下配置Java环境的相关知识,但是有些细问题还是再讲解下,否则对于新手还是不太清楚,同时这篇文章也是Ubuntu下安装LumaQQ的前提(见)。

安装配置Java环境很简单,本人试验的是Ubuntu 7.10平台,打开终端,应该知道终端在哪儿吧!输入如下命令:

sudo apt-get install sun-java6-jre

然后一切安装提示操作!下面的提示新手注意下:

安装过程中会出现蓝色背景的窗口,有红色字提示"正在设置sun-java6-jre", 屏幕下面有个"确定"两字,但是点击不了。

具体如下:

────────────────────────┤ 正在设定 sun-java6-jre ├───────────────┐
│ │
│ Operating System Distributor License for Java v1.1 (DLJ) ↑
│ ?
│ Operating System Distributor License for Java version 1.1 (DLJ) ?
│ ?
│ SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA PLATFORM ?
│ STANDARD EDITION DEVELOPER KIT ("JDK" - THE "SOFTWARE") TO YOU ONLY UPON ?
│ THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE ?
│ AGREEMENT (THE "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY ?
│ INSTALLING, USING, OR DISTRIBUTING THIS SOFTWARE, YOU ACCEPT ALL OF THE ?
│ TERMS OF THE AGREEMENT. ?
│ ?
│ 1. DEFINITIONS. "Software" means the code identified above in binary ?
│ form, any other machine readable materials including, but not ?
│ limited to, libraries, source files, header files, and data files), ↓

│  │ <确定>
│ 
────────────────────────────────────────────────────┐
解决办法 : 用tab键切换到那个确定上去. 变红后按回车即可!

然后会再次出现如下画面:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wzwydf.html