.java 轉 .class expect問題

我於jar檔入面的 .class檔反編譯了.java檔

之後修改少少後, 想用javac轉番做 .class

但佢話有6個errors

controler.java:86: <identifer> expected

catch (MalformedURLException) { }

GoPlate.java:1585: <identifer> expected

catch (MalformedURLException) { }

GoPlate.java:1911: <identifer> expected

catch (NumberFormatException) { }

wqp11.java:750: <identifer> expected

catch (IOException) { }

wqp11.java:760: <identifer> expected

catch (IOException) { }

唔識整...

1 個解答

評分
  • 1 十年前
    最愛解答

    1) because you missing the variable name, you can try this update

    controler.java:86: <identifer> expected

    catch (MalformedURLException mue) { }

    GoPlate.java:1585: <identifer> expected

    catch (MalformedURLException mue) { }

    GoPlate.java:1911: <identifer> expected

    catch (NumberFormatException nfe) { }

    wqp11.java:750: <identifer> expected

    catch (IOException ioe) { }

    wqp11.java:760: <identifer> expected

    catch (IOException ioe) { }

    OR 2) you can use eslipse to help which will be more easy

還有問題嗎?立即提問即可得到解答。