answersLogoWhite

0


Best Answer

javac is the command that is used to compile Java source files.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is Commands for the compiler that are needed to compile and run your program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What translator is needed for C programming language?

To translate the C source code program, you need a program called a "C compiler".


How do you use Cygwin?

"Using" Cygwin depends very much on what you want to accomplish. Cygwin is an environment used to port and compile Unix programs on Windows. One can "use" Cygwin without realizing it if they are using an application compiled in Cygwin. Using Cygwin as a developer is probably beyond the scope of a single question. Basically, Cygwin provides a Unix-like terminal interface through which one can run Unix commands, including a compiler (GCC). The user will download and install any additional libraries and programs he/she will need, and then compile the program, just as they would on a Unix system. When distributing the program, the developer will include the compiled binary and a copy of any DLLs needed to run it. The user will then click and run it just like any other Windows program.


How do you write a C program which runs independent of the compiler No need to install the compiler?

Any computer program does not need compiler at the time of execution. Compiler is needed to convert a high-level language program into an intermediate machine code. When you run a program, the executable binary runs, and that is what you get after compilation, etc. Summary: your Q is incorrect. Please read about compiler, and linker to understand the concept. You cannot write c or c++ code and run it without a compiler. a compiler translates a high level language (c, c++, java) into basic computer code (binary) which is composed of 1's and 0's (101001111001). but you can run it without a compiler if it has already been turned into an executable or an application by another computer.


Which translator is needed for C programming language?

C compiler


Difference Between interpreter and compiler in java application?

Due to platform independence, a Java compiler will interpret Java source code into Java Byte Code and pass to the JVM, which will pass machine understandable code through to cpu. (clarification needed).A conventional compiler converts source code directly to machine code.(clarification needed).


What is needed to run java?

You must have the Java Run-time Environment installed on your computer. Steps: 1. Open Command Prompt 2. Enter the command: javac class.java 3. Enter the command: java <classfilename> (without the .java or .class extension) The javac command will compile your java source file and create a class file. The java command will execute or run your java class file.


How does the Java programming language work?

Java uses a code-compiler, which does not create a machine-code, like normal Windows programs, but a byte-code, which the Java interpreter runs. It is like a mini-operating system, forming a layer between the operating system and the program code. This way, you can run Java programs on almost any platform. Main drawback is, that Java is slower than other languages. Consider using an other, platform dependent solution, if cross platform compatibility is not needed.


Why is there a need for compiler?

Compilers are needed to convert human readable source code into machine executable code.


What basically is a shell?

A shell is a program that read commands from some input device, typically the keyboard, and displays results on some output device, typically the display. It manages the environment and executes other programs as needed.


How do you convert binary to hexadecimal using assembly language?

In order to convert binary to hexadecimal using assembly language, the programmer must possess an understanding on boolean algebra or binary system in other words. A compiler is also needed to complete the program.


What processing is needed to transfer a c program to a MACHINE language?

C source code is first converted to object code by a compiler, one translation unit at a time. The resultant object files are then linked together to produce a machine code executable.


Why did you do this program?

What program? More information is needed.