gpt4 book ai didi

java - UnsatisfiedLinkError 无法加载库

转载 作者:行者123 更新时间:2023-11-30 08:25:23 36 4
gpt4 key购买 nike

我正在使用 Proycon 将 .class 反编译为 .java,在我的库目录中包含 jd-core-java-1.0.jar 文件,但是当我编译 Main 类时它抛出异常

Exception in thread "main" java.lang.UnsatisfiedLinkError: 
Can't load library: D:\apps\dvlpr\lib/libjd-intellij.so

打印 System.getProperty("java.library.path");它输出为

C:\Program Files\Java\jdk1.7.0_01\bin;
C:\Windows\Sun\Java\bin;
C:\Windows\system32;
C:\Windows;
C:\Program Files (x86)\PC Connectivity Solution\;
C:\Python33\;
C:\Program Files\Common Files\Microsoft Shared\Windows Live;
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;
C:\Windows\system32;
C:\Windows;C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Windows Live\Shared;
C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;
C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;
C:\Program Files\nodejs\;
C:\Program Files (x86)\Tesseract-OCR;
C:\Program Files\Java\jdk1.7.0_01\bin;
C:\Users\Shajeer\AppData\Roaming\npm;.

我尝试了很多方法,比如设置类路径...,但都不起作用。请告诉我一个好的方法。

我正在使用 NetBeans 7.4 IDE

最佳答案

根据评论中提供的链接,JD-Core-java 是用于支持 IntelliJ IDE 插件的 Java 反编译器的精简包装器。 Java 反编译器本身支持:

  • Linux 32/64 位
  • Windows 32/64 位
  • x86 硬件上的 Mac OSX 32/64 位

但是JD-Core-java 包装器目前仅支持 Linux 64 位

你有两个选择:

  • 联系作者并索要 Windows 版本
  • 从 bitbucket 中提取源并将 native 代码移植到 Windows 以构建 Windows DLL(并将其发回给作者以包含在未来版本中)

关于java - UnsatisfiedLinkError 无法加载库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22218702/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com