Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Portability ?

 
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: 12196
35
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic