answersLogoWhite

0

The Java compiler translates Java source code to Java byte code.

User Avatar

Wiki User

∙ 17y ago
User Avatar

What else can I help you with?

Related Questions

What programs that translate the source code to object code?

Programs that translate source code to object code are known as compilers. A compiler takes high-level programming languages like C, C++, or Java and converts them into machine code or object code that can be executed by a computer's hardware. Additionally, assemblers translate assembly language into object code, while interpreters directly execute the source code without generating a separate object code file. Examples of popular compilers include GCC for C/C++ and the Java Compiler (javac) for Java.


What does a compiler perform?

A compiler converts high-level source code into native machine. In the case of Java, source code is compiled to Java byte code suitable for interpretation by the Java virtual machine which produces the machine code.


Where does bytecode come from java?

It is created by the Java compiler, based on the source code (the .java file).


What is use of compiler in c?

The compiler translates source code into machine code. As opposed to java, this is a machine specific operation.


Will the java compiler translate a source file that contains syntax errors?

No it will not. Any java source file that has syntax errors will not be translated fully. The compiler will spit out errors based on the syntax problems in your code.


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 do you call a Program that runs Java byte code instruction?

Get the JDK & Bluej from net and the rest will be done by them. Java byte codes are stored as *.class ; where "*" represents the class name, in your hard disk. You can download BlueJ as well as JDK from the related link.


What is the difference between compilar and interpreter?

compiler is a software translator used in ProgrammingLanguage: C,C++, Java etc ). This used for to translate High level language to Machine independent language. Interpreter is used to translate source code to machine code by line by line.


Why the java hybrid language?

Java doesn't use a hybrid compiler. A compiler is a computer program that converts a high-level source code to a lower-level source code. In most cases, a compiler will output machine code and/or assembly language, neither of which is portable. However, the Java compiler converts Java source code to Java byte code which is suitable for interpretation by any Java virtual machine and is therefore highly portable.


Is jvm a compiler?

Basically they do the same: converting from one level of language into another. A compiler converts high level language (programming language like java) into machine-language. That is language a computer understands. An interpreter converts high level language into an intermediate level. When a program is exectuted, that intermediate level is reconverted to machine language.


What is the difference between java compiler and C compiler?

Greetings Technologist. The Java compiler compiles Java code, whereas the C compiler compiles C Code HTH Richard Wolf Software Architect


What are the purpose of compilers?

When writing a program, you write it in a certain language (java, C++, VB.NET etc.). For the computer to understand that, you need to convert it to computer language. That is what the compiler does.