Re: [問題] class file has wrong version 49.0,sh …
※ 引述《kakoiee (..)》之銘言:
: class file has wrong version 49.0, should be 48.0
: please remove or make sure it appears in the correct subdirectory of the classpath.
: import b.*;
: 1 error
: 以上是錯誤訊息
: 相關的問見位置是
: ┬ b[資料夾] ─┬ class data
: │ └ class bom
: └ class H [main()]
: 在H裡面我有用到 import b.*;
: 也有使用data.bom的建構子
: 可是就是跑不起來
: 在別台電腦就可以
: 這是什麼原因呢?
試試這樣,並且在H的目錄下compile
set classpath=%classpath%;the_location_of_b_directory
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.26.34.105
討論串 (同標題文章)
java 近期熱門文章
PTT數位生活區 即時熱門文章