Is JRE required to compile Java files ?

Answer Posted / harish

To compile a Java file, it should have a tools.jar and
dt.jar in the classpath. It should have a javac
executable. It compiles the class file. If you want to
execute the class file, you should have a Java Run-time
Environment. (JRE)

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program in java to establish a connection between client and server?

513


What is equals method in java?

536


Convert a BST into a DLL and DLL to BST in place.

682


Can we extend a class with private constructor?

535


Can a class have 2 constructors?

510






What is the buffer limit?

575


What differences exist between iterator and listiterator?

583


How to declare objects of a class ?

595


Explain JMS in detail.

630


Why do we override tostring method in java?

521


What is super keyword explain with example?

545


What are the types of strings?

577


What is jit compiler in java?

597


Why is singleton not thread safe?

664


What is variable and example?

527