0

How to run java

java

28th Jun 2017, 1:25 AM
Ramakanth
2 Respuestas
+ 1
hi, u can run java program by executing the following command. but u need to have jdk installed on ur local machine. javac program_name.java this will compile ur java program and generate .class file. or if there is any error then u need to resolve and execute the same cmd. then java program_name which will run the java program if u have any command line arguments then provide that also.
28th Jun 2017, 2:14 AM
Nanda Balakrishnan
0
You mean how to run Java code in your editor?
28th Jun 2017, 2:05 AM
Saikat Mukherjee
Saikat Mukherjee - avatar