JavaHL not loading (NoClassDefError)

后端 未结 5 1609
长发绾君心
长发绾君心 2021-02-09 14:24

I\'ve reinstalled Windows and unzipped a fresh copy of Eclipse. Despite this, I\'ve been unable access an ssh repository via Subclipse. The issue seems to be with JavaHL and the

5条回答
  •  忘掉有多难
    2021-02-09 14:49

    I saw the same kind of problems in OS X 10.7.5. The solution seemed to consist of two things:

    • Put the JavaHL .jar file in the same place as the library (in OS X, the library and the jar file are symbolic links placed in /Library/Java/Extensions). h/t to Javin Paul
    • Run the test as root. For some unknown reason, running them as a normal user resulted in some kind of permissions problems while creating files.

    I'd spend more time tracking the remaining problems down, but I've already spent a whole morning on this :-(

提交回复
热议问题