Computer Science, asked by anshuangupta3351, 1 year ago

How to compile and execute java program in cmd?

Answers

Answered by RK242
0
To make sure that Windows can find the Java compiler and interpreter:
Select Start -> Computer -> System Properties -> Advanced system settings -> Environment Variables -> System variables -> PATH. ...
Prepend C:\Program Files\Java\jdk1.6.0_27\bin; to the beginning of the PATH variable.
Click OK three times.
Similar questions