I have a Java file containing a single public class (called Test) and a private class (called Aux).
When I call javac Test.java, I get the following error:
Test.java:5: error: error while writing Aux: C:\Users\Wolf\Desktop\java\Aux.class
I thought it might be a permissions issues, but I have Admin access to the folder (the Java JDK is on my path).
Also, if I comment out the Aux class (leaving the Test class in), it works.
Any idea why it doesn't work with multiple classes in the same file?
Here's the code for Test.java:
class Aux {
}
public class Test {
public static void main(String[] args) {
}
}