Forums > Java

Windows/Mac difference in .class files?

August 8, 2011 | 10:25 am

Stupid question, I know, but I’m too tired to search right now.

Do .class files have to be compiled differently for Mac vs. PC?

Thanks for thinking for me….

a


August 8, 2011 | 8:11 pm

nm….somebody reported that its working fine the way it is.

a


August 8, 2011 | 8:30 pm

i think they are the same, because they are not using the native language of either mac or pc – they are using the virtual machine’s language. Mmm, not sure though


August 11, 2011 | 11:26 am

Class files can vary according to the Java version (older JVMs may not be able to load newer class files) but otherwise they’re portable.


Viewing 4 posts - 1 through 4 (of 4 total)