View Single Post
Old 08-26-2006, 03:21 AM   #3 (permalink)
j.gohel
Code Monkey
 
Join Date: Apr 2005
Posts: 68
j.gohel is on a distinguished road
Hi Belisarius,

Thanks for the reply.

The .java files which i compiled on the Windows machine resulting into .class files.These .class files didnt worked on teh UNIX machine.

But the same java files which when compiled on the UNIX machine and the resluting class files were used , the class files worked fine.

Firstly i supposed that this can be due to java versions on both of the machines but then i installed the same jdk version which was there in the weblogic server that is jdk1.3.1_01 which comes integrated with the weblogic6.1 server.But after compiling the .java files using the above mentioned jdk version also the class files didn't worked on the UNIX machine.

Can you please explain what are the possible causes for this kind of behaviour of class files as in the normal case the bytecodes obtained by compiling the .java files on any machine can be read by the jvm installed on any kind of machine(Correct me if i am wrong in this thing??).

Jignesh
j.gohel is offline   Reply With Quote