File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Platform Indepedent
jQuery in Action, 3rd edition