I was unable to run java program on CMD plzz help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I was unable to run java program on CMD plzz help.

everything is ok but after compiling my program a class file is created as First.class and I typed java First but it says Error: could not open 'C:\Program Files\Java\ jre1.8.0_131\lib\amd64\jvm.cfg' what to do .... plz help me...

28th Apr 2017, 8:20 AM
Basha Syed
Basha Syed - avatar
2 Answers
+ 3
thanks for Ur effort Serena problem solved.... in the beginning I renamed the jre folder now I renamed it back as jre 1.8.0_131 same as in the error above now it is detecting the folder.... thanks again👍
28th Apr 2017, 8:56 AM
Basha Syed
Basha Syed - avatar
0
my system is 64 bit nd JDK also..
28th Apr 2017, 8:26 AM
Basha Syed
Basha Syed - avatar