Am trying to execute a java method, am having my java first.java which I compiled using javac first.java
, After which a class file got created in the same path but when I tried executing the class file using command javac first.class
it throws error saying file not found . Any idea by the way I have both JDK and JRE in the path variable. Am using java 1.8
java first
使用java first
执行, javac
用于编译。
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.