I cannot figure out how to use the -i option to include additional directories. This is my folder structure
./
|___Exampe.java
|___Hello.java
Example.java
public class Example {
public static void main(String[] args) {
int number = Hello.number();
int prod = 0;
int i;
int n = 10;
for (i = 0; i < 10; i++) {
sum += 1;
prod += n;
}
System.out.println(sum);
System.out.println(prod);
}
}
Hello.java
public class Example {
public static int number() {
return 25;
}
}
I cannot figure out how to use the
-i
option to include additional directories. This is my folder structureExample.java
Hello.java
If I run
I get the following error message
I have also tried passing the absolute path, but I also get the
(Is a directory)
error message. Am I using the option incorrectly?Thanks!