Windows/Mac difference in .class files?

amounra's icon

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

amounra's icon

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

a

myphoneq19i's icon

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

nick rothwell | project cassiel's icon

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.