If JAVA language realy cross platformed, why i can't start it on linux deepin? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

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

21st Apr 2018, 3:06 PM
ŠšŠ»ŠøŠ¼Š¾Š² Š”Š°Š½ŠøŠ»
ŠšŠ»ŠøŠ¼Š¾Š² Š”Š°Š½ŠøŠ» - avatar
2 Respostas
+ 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