Every time I try running a Java program through my command line I get this:
error(Error: could not open `C:\Program Files\Java\jre1.8.0_191\lib\amd64\jvm.cfg').
I'm just learning. This is my code I'm trying to run:
class cows2{
public static void main(String[] args){
System.out.println("Hello Friend");
}
}
Here is my command line with the error.
Please read this article: https://jaykhimani.blogspot.com/2012/09/error-could-not-open-cprogram.html
I guess after installation you might change the location of jdk.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.