0
Guy to use javac what do i need
To install jdk or jre. Is command prompt and powershell the same. How do i run my java files in powershell
2 Réponses
+ 3
JDK contains tools for compile, debug and execute java programs.
JRE contains only tools for running java programs then you need of JDK.
You cannot run directly java file but you have to compile them in java bytecode (using javac tool) then your JVM can run them (with java tool).
Try to see here for an example and more info https://www.oracle.com/technetwork/java/compile-136656.html
0
https://www.sololearn.com/Discuss/1816511/?ref=app