Can i run java in cmd -Windows 10 without java software?? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

Can i run java in cmd -Windows 10 without java software??

java software is necessary in Windows 10

2nd Jan 2018, 4:26 PM
sinchana mn
sinchana mn - avatar
2 Respostas
+ 6
No, you should have a JDK+JRE installed first.
2nd Jan 2018, 4:35 PM
Boris Batinkov
Boris Batinkov - avatar
+ 5
you need JRE in order to run it. its so because java codes are compiled to intermediate java bytecodes which are translated into machine codes at runtime by JRE. although you can compile java codes to native machine code using gcj but gcj isn't supported anymore in gcc. you can still do it but as beginner( assuming according to your question) i dont think it would be worth it.
2nd Jan 2018, 5:14 PM
shobhit
shobhit - avatar