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?

8th Feb 2018, 5:12 AM
Alex
Alex - avatar
1 Odpowiedź
+ 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".
11th Feb 2018, 2:11 PM
ABDUL MANAN
ABDUL MANAN - avatar