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

Why convert an applet to an application?

624


What is one third plus one third as a fraction?

491


What are parsers? Dom vs sax parser.

566


Is java owned by oracle?

530


What is string substring?

563






What is a bufferedreader?

531


What is a singleton puppy?

539


How is a structure different from array ?

590


What are java threads?

627


What do you mean by platform independence?

586


Can we write class inside a class in java?

557


Is int primitive data type?

512


What is the difference between preemptive scheduling and time slicing in java programming?

542


What is the generic function?

533


What is arrays fill in java?

549