answersLogoWhite

0

when a java program is compiled it is converted into a non executable code which is byte code, and this byte code can only be interpreted by JVM. so a java program can't be executed on a machine which doesn't have JVM installed on it.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Is it possible to execute a program even after it exits from the main?

Of course, a program be executed repeatedly.


What is the c language used in microprocessor?

The program used inside microprocessors is microcode,the program what microprocessors execute is machine code.


What happens to a c program when we didn't use compiler and execute program from .exe?

If you don't compile and execute your program, then it's not a program, just a bunch of source code which is worthless to the computer. The whole point of a compiler is to turn the human-readable code into machine-readable code.


If your java program says no compiler is available what does that mean?

It means you have not installed jdk and jre in your machine...


How do you copy an installed program from one hard drive to another hard drive?

i'm sorry that's not possible. you cant hover the installer program on to a hard disk but not a previously installed program.


Who execute a program?

Anobody who uses it is said to "execute" or "run" the program.Anobody who uses it is said to "execute" or "run" the program.Anobody who uses it is said to "execute" or "run" the program.Anobody who uses it is said to "execute" or "run" the program.


Is it possible to make a program that combines a lot of other programs?

Yes. One program can execute another program very easily -- you can even do it via scripting languages and batch programming. Morevoer, programs that provide shared code via one or more libraries make it possible for another program to execute code within those libraries, just as if that code were part of the program itself (no need to execute another program). Such programs often provide application programming interfaces (APIs) to simplify the process of integration.


Which software runs specific program.?

It depends on which specific program you have in mind. Native machine code programs do not require any software to run; the program was converted into the machine's native language during compilation and does not require further translation. However, machine code is non-portable. To execute the same program on another platform the source code must be recompiled for that platform. Conditional compilation directives ensure that the correct machine-specific source code is compiled. Byte code programs, however, do require software to execute. Byte code is not native machine code so must be converted to native machine code while it is executing. This is achieved using a runtime program known as an interpreter. Java is a typical example. Java source code is compiled to Java byte code suitable for interpretation by the Java virtual machine (JVM). Thus a JVM is required to execute Java programs. Unlike native machine code, byte code is portable; the same byte code will execute upon any machine that has a suitable interpreter available.


Which software runs a specific program?

It depends on which specific program you have in mind. Native machine code programs do not require any software to run; the program was converted into the machine's native language during compilation and does not require further translation. However, machine code is non-portable. To execute the same program on another platform the source code must be recompiled for that platform. Conditional compilation directives ensure that the correct machine-specific source code is compiled. Byte code programs, however, do require software to execute. Byte code is not native machine code so must be converted to native machine code while it is executing. This is achieved using a runtime program known as an interpreter. Java is a typical example. Java source code is compiled to Java byte code suitable for interpretation by the Java virtual machine (JVM). Thus a JVM is required to execute Java programs. Unlike native machine code, byte code is portable; the same byte code will execute upon any machine that has a suitable interpreter available.


When to have a peer to peer?

Computer with internet access. Network cables connected to each machine. Program installed on each computer.


Can you run a python program using code Can you give me the code I need to use in order for it to work I am using codio plz help?

Assuming you only intend executing your code on your own machine and you have some version of Python installed, you can execute a Python script from within your code in the same way you can execute a Python script via the command line: python script.py infile outfile -o


Write a program in C without any functions?

It is not possible. In C, any program must have at least one function to be able to compile and execute properly: the function main()