運行這個腳本:
root@kangear:/etc/apt# java -version java version "1.6.0_41" Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) Server VM (build 20.14-b01, mixed mode) root@kangear:/etc/apt#