Reputation: 618
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
Upvotes: 0
Views: 141