1 JRE, JDK, JVM || The Life Cycle of a Java Program

Ace your homework & exams now with Quizwiz!

What is a Java Compiler?

A Java Compiler is software that is used to convert Java Source Code into Java Bytecode.

What does IDE stand for and what is it?

IDE stands for Integrated Development Environment. It is simply a code editor that allows the process of creating code to be easier.

What happens when you run a .java file through the Javac compiler?

If everything checks out, the .java file will be converting into a .class file. In that .class file is where the bytecode stays.

What is the purpose of the Java Virtual Machine.

It's purpose is to interpret the bytecode from the compiler into machine language that the current platform (Operating System) can interpret and run. This platform being either Windows, Unix, or Mac.

What does JRE stand for?

JRE stands for Java Runtime Environment..

What are the 3 components of the Java Runtime Environment?

Java platform core classes Java libraries Java Virtual Machine (JVM)

Does JRE come already installed with whatever computer your using? i.e. Mac, Windows

No, they aren't already installed. You have to bring them aboard to your computer.

What is Source Code?

Source code is the code written by the programmer, you. You are the source of the program.

Is the JVM platform dependent or independent?

The JVM (Java Virtual Machine) is platform dependent. It is platform dependent because it has to take the bytecode sent down from the Javac compiler. Then it has to interpret that bytecode into a machine language that the specific Operating System can understand and run.

What does the Java Compiler also check for?

The Java Compiler also checks and makes sure that the syntax in the Source Code is correct.

What is the Java Compiler called?

The java compiler is called: Javac

What does the Life Cycle of a Java Program consist of?

The life cycle of a java program consists of 3 steps: 1. Write the program 2. Compile the code 3. Execute the application

Java was designed to create programs that could run on any machine or platform? True or False?

True


Related study sets

Statistics Chapter 5: z-scores and standardized distribution

View Set

The Picture of Dorian Gray - El Retrato de Dorian Gray (Oscar Wilde)

View Set

Religion 101 - 1:Religious Repsonses

View Set

Major #4 - EMT (Multiple Choice Questions)

View Set

PrepU Chapter 50: Assessment and Management of Patients with Female Physiologic Processes

View Set

Business Exam Number 1 Chapters 1, 4, and 7

View Set

Diagnostic Imaging: X-ray vs CT vs MRI vs Ultrasound

View Set

Developmentally Appropriate Care of the Adult Patient

View Set

[Chapter 5 - Storage] TestOut Security Pro

View Set