answersLogoWhite

0


Best Answer

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).

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

6y ago

There's nothing particularly extraordinary about the Java compiler. A language compiler is, by definition, a software program which translates a high-level programming language source code input into a lower level language source code output, reducing the amount of abstraction to some degree.

Every compiler supports one (and only one) input language. The Java compiler operates upon Java source code, the C++ compiler operates upon C++ source code and the Visual Basic compiler operates upon Visual Basic source code.

Every compiler produces at least one output (in addition to any errors or warnings). The Java compiler produces non-machine dependent Java byte code, the C and C++ compilers produce machine-dependent object files and the C# compiler produces a Windows-dependent assembly.

There are clearly some very obvious differences between different compilers, but those differences do not make one any more or less "ordinary".

This answer is:
User Avatar
User Avatar

Sumit Singh Sumit Ku...

Lvl 1
1y ago
Nice answer

User Avatar

Wiki User

14y ago

The compiler takes your source code - the one you write, with an extension .java - and converts it into bytecode - with an extension .class. The interpreter (the JVM) is the program that runs this code.

The compiler takes your source code - the one you write, with an extension .java - and converts it into bytecode - with an extension .class. The interpreter (the JVM) is the program that runs this code.

The compiler takes your source code - the one you write, with an extension .java - and converts it into bytecode - with an extension .class. The interpreter (the JVM) is the program that runs this code.

The compiler takes your source code - the one you write, with an extension .java - and converts it into bytecode - with an extension .class. The interpreter (the JVM) is the program that runs this code.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The compiler takes your source code - the one you write, with an extension .java - and converts it into bytecode - with an extension .class. The interpreter (the JVM) is the program that runs this code.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Ordinary language will use C and C++ and will be done through the CPU of the computer. Using java will have the java machine do the interpreting.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference Between interpreter and compiler in java application?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between interpreter and parser and compiler?

in my personal point of view i would say a parser is more like "one-directional" "automatic" vs. an interpreter, the interpreter has more "intelligence"


What is DML Compiler?

What is difference between Compiler and DML Compiler


What is the different between Compiler and Interpreter in C or C plus plus programming?

It is easy to tell: there is no interpreter for C and C++, they are compiled languages.


What is the difference between compilers and interpreters in c plus plus in tabular form?

C-compiler translates the C-source into Assembly or machine code. On the other hand, C-interpreter -- well, there is no such thing as C-interpreter.


Who is the best between a compiler and an interpreter?

There are very few languages (e.g. old BASIC variants in hobby computers) that have both interpreter and compiler, so your question hardly makes sense. Simply pick a language, and use it.


What is the difference between Pseudo instructions and instruction?

A pseudo-instruction : A symbolic representation in a compiler or interpreter. An instruction : a simple statement in any language that defines a task or computation etc.


What is the difference between instruction and pseudo-instruction?

A pseudo-instruction : A symbolic representation in a compiler or interpreter. An instruction : a simple statement in any language that defines a task or computation etc.


What are the difference between a compiler design and a compiler?

In Compiler there is no design word ,whereas in compiler design there is design word


What are the similarities between compiler and interpreter?

Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.


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.


State two differences between a compiler and an interpreter?

# An interpreter translates from source code to machine code on-the-fly; a compiler does it all before the program is executed. # Compilers can spend a lot of time on analysis and optimization, allowing for (generally) better performance of code.


What is the difference between a translator and an interpreter?

A translator is written translation. And an interpreter is an oral translation.