aspose file tools
The moose likes Beginning Java and the fly likes Platform Indepedent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Platform Indepedent" Watch "Platform Indepedent" New topic

Platform Indepedent

Utkarsh Chowdhary

Joined: Feb 27, 2001
Posts: 6
Why Java is said to be platform independent while C & C++ is not when Java Complier & JVM is different for every OS .?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
That's the point, the JVM is handling the issues with the os, so I can write one set of code and it will work in ANY properly built JVM. It is my application code that is platform independant, not the JVM or JRE.

"JavaRanch, where the deer and the Certified play" - David O'Meara
wood burning stoves
subject: Platform Indepedent