Does java have a compiler or interpreter or something like that? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Does java have a compiler or interpreter or something like that?

please mention best ones.

27th Sep 2018, 12:11 PM
M@hdi
M@hdi - avatar
4 Answers
+ 15
M@hdi yes something like that. The Java compiler compiles the Java source code into an intermediate bytecode. This bytecode is then interpreted by the JVM/JRE to run the program. As Roberto Guisarre said, the JDK comes with the Java compiler and JRE. JDK = Java Developmet Kit JRE = Java Runtime Environment JVM = Java Virtual Machine
28th Sep 2018, 2:55 AM
Sonic
Sonic - avatar
+ 3
I believe you are asking for an IDE, cause the JDK holds Java's multi platform compiler and the JRE is Java's interpreter of the compiled files, please correct me if I'm wrong. Netbeans and Eclipse are 2 very robust, highly supported and free options. Good luck Mahdi.
27th Sep 2018, 12:19 PM
Roberto Guisarre
Roberto Guisarre - avatar
+ 3
thank you guys🙏
28th Sep 2018, 4:25 PM
M@hdi
M@hdi - avatar
+ 2
try eclipse
28th Sep 2018, 10:29 AM
Marco Morozzi
Marco Morozzi - avatar