+ 1

If JAVA language realy cross platformed, why i can't start it on linux deepin?

21st Apr 2018, 3:06 PM
Климов Данил
Климов Данил - avatar
2 Réponses
+ 10
The JVM that runs the Java code is not platform independent. You can see that on the download page. There are different downloads for Windows, Linux, MacOS and Solaris for the JRE/JDK. But you don't have to change your code to run it in another JVM. So Java code is somehow platform independent (although gui might be displayed different on another platform) whereas the runtime is definitely not.
21st Apr 2018, 4:17 PM
Tashi N
Tashi N - avatar
0
It's as close to cross-platform as you can get, but sometimes needs a little work.
21st Apr 2018, 3:52 PM
Emma