On a computer whose operating system is a recent version of Microsoft Windows, invoke Start > Programs > Accessories > Command Prompt. Navigate to the directory that has the
Hello, java source code. Enter dir Hello. *to list all files starting with "Hello". If this list includes
Hello.class, delete that file by entering
del Hello.class. Enter
javac Hello, javato compile the source code. Again enter
dir Hello.*and verify that the bytecode file,
Hello.class, has been created. Now you can enter
java Helloto execute the compiled program. Enter
type Hello.javaand type
Hello.classto get a feeling for how bytecode differs from source code.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.