Windows/Mac difference in .class files?

Aug 8, 2011 at 10:25am

Windows/Mac difference in .class files?

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

#58382
Aug 8, 2011 at 8:11pm

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

a

#209819
Aug 8, 2011 at 8:30pm

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

#209820
Aug 11, 2011 at 11:26am

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.

#209821

You must be logged in to reply to this topic.