• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Portability ?  RSS feed

 
Sid Robin
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone in simple terms tell me what is Java Portability ?

Thanks in Advance
 
fred rosenberger
lowercase baba
Bartender
Posts: 12464
43
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
once you write a java program, you compile it into class files. you can drop those .class files onto any machine that has a JVM, and they will run.

With a language like C, you write your file, you compile it into a .exe file. BUT, you have to compile a .exe file for Windows XP, a different .exe for Unix, a different .exe for linux, a different .exe for MacOS...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!