+ 1
Isn't every language "write once, run anywhere" as long as you have its compiler? Then why is Java so special?
JVM is platform dependent anyway...
5 Answers
+ 6
Yep, Danilo that's about the case.
+ 5
The platform or Operating System is definitely a factor on which your product will run. WINDOWS, ANDROID, iOS, ...
The Java developer doesn't have to worry about the issue it is independent.
+ 4
So, from what I understood from you, Java is a "write once, run anywhere" because it doesn't have operating-system-specific commands, libraries, etc, unlike some other programming languages, i.e, the code you write will run on any platform (that has JVM).
+ 3
For example, in c/c++ for windows you have windows.h and stdlib.h system (), but they don't work in linux
+ 3
Andres don't you think it is normal that windows.h doesn't work in Linux. They are competing each other so. You can not compare a car with a shoe either...