Which platform is necessary to run java files? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Which platform is necessary to run java files?

5th Jun 2017, 6:22 PM
Pritam Soni
Pritam Soni - avatar
3 Answers
+ 2
Java is known as a platform independent language. in other words, the same source code written on one platform bcan be executed on any other platform. We only need JVM (Java Virtual Machine) to convert .java files (written by the user) to .class files (executed by the machine) for the machine to execute.
7th Jun 2017, 2:19 AM
Aman Mathur
Aman Mathur - avatar
+ 14
Java is platform independent... WORA ~_~
5th Jun 2017, 6:24 PM
Dev
Dev - avatar
+ 4
JRE (Java Runtime Environment) which is a form of virtualization. Most platforms support =< 8: - Linux* - Windows - MacOS - FreeBSD *Some Debian-based may require backports depending on the version. Never mess with the default Java version unless you know what you're doing.
5th Jun 2017, 9:14 PM
Jamie
Jamie - avatar