serverA, serverB both are running Solaris8, JDK1.4.2_04.
Yes general understanding is you can't execute jar files directly. But that is not true from JDK1.2 on words, apparently both windows and Unix do recognize .jar associated with java and execute the class with main method specified in manifest file.
This article explins how that happens..>
http://www.javaworld.com/javaworld/j...27.html?page=1
I also gave proof in my post that "
myjar_r.jar" jar file is getting executed on serverB, but not on serverA.
Since test jar file is available on the net, anyone can test it.
I did check other things like how Unix file associations work using -->
/etc/magic,
/usr/dt/appconfig/types/C/datatypes.dt. I did check if this has something do with PATH, CLASSPATH settings or tty setting etc.. Bu all these settings look same on both servers.
That is why this problems looks very interesting and challenging.