English 中文(简体)
装载java x86_64 jnilib
原标题:load java x86_64 jnilib on i386 Mac OS

我有一个MACOS 10.5.8,涉及I386建筑和jvm1.6.0_26 64-Bits

I ve以java.library.path=lewys/macosx/x86_64为首,i:

Caused by: java.lang.UnsatisfiedLinkError: .../macosx/x86_64/libLeWYS.jnilib:  no suitable image found.  Did find:  .../macosx/x86_64/libLeWYS.jnilib: mach-o, but wrong architecture
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1742)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1045)
    at org.objectweb.lewys.probe.macosx.CpuProbe.<clinit>(CpuProbe.java:58)
    at org.ow2.clif.probe.cpu.Insert.<init>(Insert.java:72)
    ... 55 more

它有工作?

增 编

PS: 浏览32个轨道数据模型并不奏效,前引:java-d32 Cannot在32个轨道模式下运行 Java,继续采用64个轨道模式。

问题回答

我不认为你可以这样做,因为只有x86-64比值的天然平衡。

如果你正在运行一个64个有虚拟展期的CPU,则请上could。 但它运行在一个虚拟机器中,因为你将回到64个轨道环境。

You can force 32 bit in Eclipse by passing a -d32 as a VM argument: Forcing 32 bit

这为我提供了1.6.0_51 64 比方元的SOSX 10.8.4。

我收到同样的汇编错误,因此确定错误。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签