answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

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

Wiki User

17y ago

The key item is the compiler. The compiler takes the programming language and converts it into a language and sequences that the computer can understand. The other item is the library. It is a set of commands that the compiler can understand and can translate into the machine language. The programming language is what you use to create your processes. Most of them are directly related to logic sequences and storing and retrieving of data. You write the commands in the programming language, run it through the compiler which converts it to machine code and then have an executable program.

Some programs are also interpreted meaning they don't need to be run through a compiler. Such as PHP and JavaScript

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

A Java compiler takes the imputed code and compiles byte-code. This code is then interpreted by the Java interpreter. This compiling method allows the code to versatile, working on cellular devices, the web browser, and on your hard-drive.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The working of the Just-In-Time compiler is more or less the same for all the JIT compilers. The source code is compiled to the bytecode by the Java Virtual Machine (JVM).

The JVM also comes with the JIT compiler which is used when the application is run. Upon executing the application the bytecode is converted to the machine code or the native code that is run by the machine.

The job of the JIT compiler is to convert this bytecode to the machine code. All the JIT compilers work in the same manner. The JIT compiler uses a V-table which is a pointer to the methods in the class. This internal table is used to compile the methods to native code.

The address of the JIT compiler itself is placed in the V-table and this address is called during execution and the JIT compiler executes the native code and stores that address to the V-table. And from now on this address is called whenever that method is called and the native code is executed.

Only during the first call to a method it is compiled and for the subsequent calls the native code for that particular method is called. The V-table maintains the addresses of the native code for all the methods that are compiled. V-table also maintains another table which has the addresses of the bytecode itself in case there is a need to compile it for the first time.

Ajesh Mahto

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

In some instances, after installing Java 7 Update 25 (7u25) using internet Explorer, Java apps do not function. Java is free to download.

Edit (Geocasher):

If you want to know how to program Java, I would suggest looking at the Intro to Java class from MIT. They put up the lesson notes and assignments.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

In the specific case of Java, a special program called a Java Virtual Machine (and often abbreviated as JVM) interprets the compiled Java class, executing the instructions in the class in the specified order.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

Java is a multi-paradigm language: object-oriented; structured; imperative; functional; generic; reflective; concurrent.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

vgvjv

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does the Java programming language work?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is jython?

Jython is a version of the Python programming language that is integrated with the Java programming language, allowing you to mix Java and Python code and run both on the Java Virtual Machine.


Why java is 100 percent programming language?

There are no 'partial' programming languages.


Is java a hardware platform?

No. It is a programming language


What programming language does minecraft use?

Java


Is java an assembly language?

No. Java is a high level language also known as object oriented programming

Related questions

What programming language are java applets written in?

Java applets are written in the Java programming language. Java is considered to be one of the oldest and most commonly used programming languages in the world.


Which type of language is java?

Java is truly object oriented programming language


Is the best institute for learn java programming in Pakistan?

The Java programming language is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. Then you learn java programming language in Pakistan get the best java programming classes at the lowest cost.


Is java a database?

No, its a programming language.


Is java DBMS?

no, Java is not dbms.. Java is a programming language Dbms is database


What is jython?

Jython is a version of the Python programming language that is integrated with the Java programming language, allowing you to mix Java and Python code and run both on the Java Virtual Machine.


Why java is 100 percent programming language?

There are no 'partial' programming languages.


Is java a hardware platform?

No. It is a programming language


What programming language does minecraft use?

Java


Is java example of a procedural programming language?

No.Its purely object oriented programming language


Is java an assembly language?

No. Java is a high level language also known as object oriented programming


What is a java object?

A java object is a collection of methods and properties defined in the Java programming language.