How to use the java codes into machines so that it works according to the coding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use the java codes into machines so that it works according to the coding?

29th Mar 2018, 4:32 AM
SIDDHARTH LAHAN
SIDDHARTH LAHAN - avatar
2 Answers
+ 10
java codes [source code] when compiled changes to byte code & runs on virtual machine [JVM's][interpreter] //so U need different virtual machine[interpreter] for different platforms to use that byte code
1st Apr 2018, 7:22 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 8
There must be a Java Runtime Environment (jre) for your 'machine'. If that exists the Java code can be executed by the runtime environment.
1st Apr 2018, 7:12 PM
Tashi N
Tashi N - avatar