Error trying to exec /usr/jdk/instances/jdk1.6.0_07/bin/amd64/java

T

TsanChung

I built every JNI cpp file for 64x86.
Please help to fix this error.
$ java -d64 -server -jar test.jar
execve(): No such file or directory
Error trying to exec /usr/jdk/instances/jdk1.6.0_07/bin/amd64/java.
Check if file exists and permissions are set correctly.
Failed to start a 64-bit JVM process from a 32-bit JVM.
Either 64-bit processes are not supported by this platform
or the 64-bit components have not been installed.

# uname -a
SunOS sun1 5.10 Generic_120012-14 i86pc i386 i86pc

# java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top