0
How to run Java Programs?
I have downloaded a Java game named "Brick Breaker" and I have JRE too. now what should I do to run the game?
1 Answer
+ 1
you first need jdk and jre. Then specify path for jdk and go to cmd prompt.
Write the name of the drive where program is stored like "g:" and press enter. Then "javac program_name. Java" to compile the Java code. Then "java program_name".