简体   繁体   English

64 位 Weblogic 服务器上的 32 位 JDK

[英]32 bit JDK on 64 bit Weblogic Server

Is it possible to run an application on a 64 bit Weblogic 10.3.2 Server instance with a 32 bit JDK?是否可以使用 32 位 JDK 在 64 位 Weblogic 10.3.2 Server 实例上运行应用程序?
The reason for me to doing this is getting an exceptions while running my program using 64 bit JDK.我这样做的原因是在使用 64 位 JDK 运行我的程序时出现异常。

UCFWin32JNI.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform 

The error is gone when using 32 bit JDK.使用 32 位 JDK 时错误消失。
If it is possible, then how?如果有可能,那怎么做?

Thanks!谢谢!

A 32-bit version of a library cannot be loaded and used by a 64-bit JVM, and vice versa. 64 位 JVM 无法加载和使用 32 位版本的库,反之亦然。

Moreover, UCFWin32JNI.dll does not appear to be a WebLogic library at all.此外, UCFWin32JNI.dll似乎根本不是 WebLogic 库。 In fact, it appears to be a library from Documentum.事实上,它似乎是 Documentum 的一个库。 You ought to be looking for a 64-bit version of that library (if it is available) as it appears to be a 32-bit version going by the name and the error message produced.您应该寻找该库的 64 位版本(如果可用),因为它似乎是 32 位版本,名称和产生的错误消息。 Finally, you'll need to place the 64-bit version in one of the directories constituting java.library.path .最后,您需要将 64 位版本放在构成java.library.path的目录之一中。

No problems at all running a 32bit JVM on a 64bit platform.在 64 位平台上运行 32 位 JVM 完全没有问题。 In fact, for some applications it can actually be more efficient, due to the fact that certain data types are innately larger on a 64bit JVM (ints I think are an example of this from memory)事实上,对于某些应用程序,它实际上可以更有效,因为某些数据类型在 64 位 JVM 上天生就更大(我认为整数是内存中的一个例子)

A 64bit JVM provides all sorts of advantages for an application requiring access to a larger heap, but there's no harm at all in running a 32bit JVM. 64 位 JVM 为需要访问更大堆的应用程序提供了各种优势,但运行 32 位 JVM 完全没有害处。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM