+ 3
Can i run java in cmd -Windows 10 without java software??
java software is necessary in Windows 10
2 Answers
+ 6
No, you should have a JDK+JRE installed first.
+ 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.