Java file has been compiled successful but is not running.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java file has been compiled successful but is not running..

Hello everyone!!! I try to run my first Program today . I have successfully compile that program but it is not running. it is also showing errors after compilation if I am doing any thing wrong in the code . I don't know why it's not running since everything is correct . After compilation the .class file is also forming but after that program is not running.it is showing the exactfollowing error to all my programs after compilation:- Error : could not open 'D:\volume\lib\i386\jvm.cfg'

22nd Jun 2017, 10:09 AM
Babita bisht
Babita bisht - avatar
1 Answer
+ 16
Check the path variable in the system environment. Check if it points to the correct jre bin path. If it does, your installation might be corrupt, then try to remove and reinstall it.
22nd Jun 2017, 3:58 PM
Tashi N
Tashi N - avatar