How to run 64-bit native code with Java Web Start

This question has probably been asked many times, but I couldn't find anything in my searches.

How can I get Java Web Start on a Solaris client (Solaris 10 in this case, with JRE 1.5) to run a java application that includes a 64-bit native code library? The application downloads fine, including the jar file that has the native shared object, but when the native library is loaded by the java application, I get a "wrong ELF class: ELFCLASS64" error.

I assume that is because Web Start is invoking the 32-bit java VM, which can't load a 64-bit library. I tried configuring Java Web Start to use the 64-bit VM (by setting the path to java to ".../jre/bin/sparcv9/java" in the javaws console) but then I get an error that says "Can't load library: .../jre/lib/sparcv9/libdeploy.so".

Does Java Web Start support 64-bit native code, and if so, what do I need to do differently?

Thanks.

[916 byte] By [krutherforda] at [2007-10-3 11:10:34]
# 1
Sorry, I probably should have posted this question under the Java Deployment (Web Start / JNLP) forum. I will re-post it there.
krutherforda at 2007-7-15 13:33:45 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
No it can't. On the Sun download page of the JRE it says that 64 Bit systems need to use the 32 Bit JRE to execute Plugins - this might be the same for Web Start apps.
MartinHilperta at 2007-7-15 13:33:45 > top of Java-index,Java HotSpot Virtual Machine,Specifications...