Meaning of code once run anywhere? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Meaning of code once run anywhere?

Cross platform

15th Feb 2017, 7:17 AM
Yahaya Harboubacar Danjuma
Yahaya Harboubacar Danjuma - avatar
2 Answers
+ 2
Platform independent
20th Feb 2017, 8:40 PM
Bharath yadav
Bharath yadav - avatar
+ 1
Basically this phrase is used for open source language like JAVA. The meaning of that is if the code is written by you once , you can run that code on any platform. To write and run JAVA programs you require JVM and JRE (for more information you can Google it). The JVM converts the code we've written​ into a Non-Executable Byte code. A byte code is a highly optimized set of instructions. These byte code files can be run in different JRE (Java Runtime Environment). JVM will differ from platform to platform, but it will understand the byte-code. So you just need to install JVM based on your platform to execute the byte code on your machine.
19th Feb 2017, 6:04 AM
Chintan Maisuriya
Chintan Maisuriya - avatar