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?

