[問題]關於深入淺出設計模式裏面檔案如何run
很新手的問題
http://examples.oreilly.com/9780596007126/
zip裏面code要如何run
網站下面說明檔寫
java -cp ./classes headfirst.observer.weather.WeatherStation
到/bin下面使用
但都沒有成功
會出現
錯誤: 找不到或無法載入主要類別 headfirst.observer.weather.WeatherStation
順便請教一下
如果要自己compile bin檔案
我在/src下用 javac -d ../bin headfirst/observer/weather/*.java但會出現
Note: headfirst/observer/weather/WeatherData.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
自己很不會指令
想請教一下 感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.231.51.55
※ 文章網址: http://www.ptt.cc/bbs/java/M.1400303761.A.5F1.html
推
05/17 13:59, , 1F
05/17 13:59, 1F
已修改
※ 編輯: WashFreeID (36.231.51.55), 05/17/2014 14:04:33
推
05/17 15:48, , 2F
05/17 15:48, 2F
java 近期熱門文章
PTT數位生活區 即時熱門文章