Search:

Type: Posts; User: MeteoricDragon

Search: Search took 0.09 seconds.

  1. Replies
    18
    Views
    3,425

    Re: .java File not found

    oh ok, this is making sense to me now. I just didn't recognize the error in the command prompt, I've had this error before in other languages. I applied the changes and the code compiled without...
  2. Replies
    18
    Views
    3,425

    Re: .java File not found

    ok, but I'm confused about the first error, "identifier expected", That line is a constructor, I thought for constructors you put the (private/public) in and don't give identifiers, just give the...
  3. Replies
    18
    Views
    3,425

    Re: .java File not found

    Wow... I changed the "Planets" directory to "planets" in the windows folder, and got a whole different bunch of errors
  4. Replies
    18
    Views
    3,425

    Re: .java File not found

    Yes exactly, that is what has been so confusing to me. Are the package names case sensitive with the directory names?
  5. Replies
    18
    Views
    3,425

    Re: .java File not found

    ok i got these new files. and I moved them from jdk to the parent directory java:

    And I think i understand what you're saying about classpath, but when you give it the directory to search, does it...
  6. Replies
    18
    Views
    3,425

    Re: .java File not found

    ok, i've added an import statement to the helper class Planets.java, but I am now back to the file not found problem:confused:
  7. Replies
    18
    Views
    3,425

    Re: .java File not found

    ok, what you're saying makes sense to me, but the exercise tells me explicitly to put the packages as they are. I assume it's trying to teach me to use a certain feature of java or something, Here's...
  8. Replies
    18
    Views
    3,425

    Re: .java File not found

    [Ok, I tried what you posted, and I'm receiving compiler errors due to the fact that the main class(GreetingsUniverse.java) instantiates the classes defined in Planets.java. but cannot find them.
    ...
  9. Replies
    18
    Views
    3,425

    Re: .java File not found

    Ok, tried that and got these results:
  10. Replies
    18
    Views
    3,425

    .java File not found

    I am using javac in Windows command prompt to compile a basic hello world application that uses 2 source files (this is for a java certification exercise, I'm learning java). The source files are...
Results 1 to 10 of 10