This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Java Portability ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Portability ?" Watch "Java Portability ?" New topic
Author

Java Portability ?

Sid Robin
Ranch Hand

Joined: Nov 24, 2007
Posts: 53
Can someone in simple terms tell me what is Java Portability ?

Thanks in Advance
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11252
    
  16

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...


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Portability ?