※ [本文轉錄自 P_aurshya 看板]
去下載吧~
1.進入連結:
http://java.sun.com/javase/downloads/index.jsp
2.點下載(download)
JDK 6
The Java SE Development Kit (JDK) includes
3.點接受(Accept)
Required: You must accept the license agreement to download the product.
Accept License Agreement | Review License Agreement
Decline License Agreement
4.下載第一個(Windows Offline Installation)
Windows Platform - Java(TM) SE Development Kit 6
Windows Offline Installation, Multi-language jdk-6-windows-i586.exe 53.16 MB
Windows Online Installation, Multi-language
5.安裝檔名為jdk-6-windows-i586的檔案
6.安裝完後
我的電腦按右鍵
進階=>環境變數=>系統變數(Path)=>編輯
最後面貼上;C:\Program Files\Java\jdk1.6.0\bin
記得前面一定要用";隔開"(假如path前面有東西的話)
7.開啟cmd.exe(命令提示字元)
路徑:
開始=>執行=>cmd=>Enter
8.編碼
javac 檔名.java
程式碼無誤的話會編成class檔
9.執行
java 檔名
※ 編輯: aurshya 來自: 61.217.214.239 (12/20 01:51)
--
遨 俠 創 意 無 限 工 作 室
◢█◣ █ █ ███ ██◣ █ █ █ █ ◢█◣
█▄█ █ █ █▄◤ ◥▄▄ ███ ◥▄◤ █▄█
█ █ ◥█◤ ◤ ◣ ▄▄◤ █ █ █ █ █
P版 : P_aurshya
官方 : http://www.wretch.cc/blog/aurshyali
--
▆ ▆▆▆▆ ▆ ▆ ▆ ▆▆▆▆
▆█▆▆ █▆▆█ █ █ █ █ █ ┌─【EXIT七號出口】─┐
▄▄▄▄▄█ ▆▆▆▆ ▆ █ ▆ █ █▄▄▄▄▄ telnet://exit.twbbs.org
▄▄▄▄▄█ █ ◢▆▆▆ █ █ █ █ █▄▄▄▄▄ 你還在尋找出口嗎?
█▆◤ ▆▆▆◤ █ █ ◤ █▆▆◤ └──────────┘
◆ From: 61.217.214.239
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):