This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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
Have you checked out Aspose?
subject: Platform Indepedent
It's not a secret anymore!