Should I recompile java source on opteron solaris?

In development environment, I built a servlet application via netbeans on Windows XP (32 bits). I am going to delopy the war file on a Sun box x 4100 with AMD Opteron/Solaris platform(AMD 64 bits). However, I was told that the java classes need to be recompiled on the opteron box since the java classes compiled on the 32 bits box won't work. Is it right? If so, java is no longer the one Sun's proclaimed "compile once, delpoy any where". I must recompile the source codes and manually package a war file. The another problem is that the third party's jar lib would also be recompiled, which I cannot do. How can I resolve the issue?

[645 byte] By [qijiang2000a] at [2007-11-27 7:28:01]
# 1

There's no need to recompile your java classes just to use them on a different hardware architecture (or operating system).

You do have to make sure the JDK version you compile with on your windows box is either (a) the same as, or (b) older than the JDK version you will be deploying with on the opteron box.

jxca at 2007-7-12 19:08:16 > top of Java-index,Java HotSpot Virtual Machine,Specifications...