The javac
command was available until yesterday, but the following message suddenly appears:We are looking for solutions.
Displayed Messages
javac: File not found: konp.java
Usage: javac<options><source files>
Use -help for a list of available options.
konp.java
public class konp{
public static void main(String[]args) {
int sales [ ]; // Declaration
sales=new int[4];// Free space
sales[0] = 150;
sales[1] = 200;
sales[2] = 140;
sales[3] = 400;
// sales.length; // Number of regions 4
for(inti=0;i<sales.length;i++){
System.out.println(sales[i]);
}
}
}
Run Environment
Windows 7 (64bit)
There are many reasons for the "Files Not Found" system, but I think it's faster to check the basics first.
© 2024 OneMinuteCode. All rights reserved.