search

Home  >  Q&A  >  body text

eclipse - How to solve no atk-wrapper in java.library.path

I wrote a packet capture program (jpcap) in java. It runs normally in windows, but when I run it in eclipse under linux (kali), I get an error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no atk- wrapper in java.library.path

There is no error in the code, the jpcap package has been imported, and openjdk is used. Searching on Google and Baidu has no results. Please give me some advice. Thank you very much!

曾经蜡笔没有小新曾经蜡笔没有小新2742 days ago848

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-17 10:03:52

    Replacing openjdk with sun jdk in eclipse can successfully run the program. It may be that the jre of openjdk lacks packages or path problems. It feels troublesome. Just change to jdk (jre).

    reply
    0
  • Cancelreply