Re: [OOP ] HelloWorld!? HELP~~~~~~~~~~~~~~

看板b94902HW作者 (靜默 放空 )時間18年前 (2006/03/06 18:09), 編輯推噓2(201)
留言3則, 3人參與, 最新討論串3/4 (看更多)
在系統變數裡面應該會有一個叫CLASSPATH的東西,在他後面多加一個 . 就好了 java在執行的時候會在這個變數所指到的路徑裡面去找你要執行的class 加個點就會在你現在所在的目錄裡面找 之前好人助教教我的~ -- We know. The time of joy will pass again someday. Then, fresh wind blows. It treasures that is happy. too, to be sad, too. Let's repeat it eternally, and live, and go!! maybe happy... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.240.178

03/06 20:12, , 1F
可以了,剛溫喔^^
03/06 20:12, 1F

03/09 07:45, , 2F
不好意思問一下,為什麼我沒有classpath呢?
03/09 07:45, 2F

03/20 00:54, , 3F
沒有的話 自己新增就好
03/20 00:54, 3F
文章代碼(AID): #1430f2FB (b94902HW)
文章代碼(AID): #1430f2FB (b94902HW)