Search:

Type: Posts; User: MeteoricDragon

Search: Search took 0.10 seconds.

  1. Trying to set up servlet, JSP, and JSF for first time.

    I am working on an exercise in a java certification study guide, And it is telling me to set up an application server and/or web container. And in an IDE, (NetBeans in my case) I am to open a new...
  2. Replies
    6
    Views
    1,289

    Re: Confusion about inheritance

    Thank you copeg, this was the more articulate way I sought to express my confusion. and helped me understand, thank you all.
  3. Replies
    6
    Views
    1,289

    Re: Confusion about inheritance

    That link does help, but I am also confused between inheritance and access given by protected access modifiers. If I create a Bicycle object with protected wheelRPM, then I create a TenSpeedBicycle...
  4. Replies
    6
    Views
    1,289

    Confusion about inheritance

    I am reading a SCJA study guide and it's explaining examples of classes that use inheritance, I saw one example and am confused why the wheelRPM variable is overriden, even with the explanation given...
  5. Replies
    2
    Views
    1,859

    Re: string identifier symbol not found

    Awwwwww man!! slaps forehead! lol I can't believe I didn't see that. thanks!
  6. Replies
    2
    Views
    1,859

    string identifier symbol not found

    I am new to java. I am working with this one .java file shown here, and for some reason the identifier location is not a found symbol



    import java.lang.String;


    class FishSpot
    {
    public...
  7. Re: Classpath override not working correctly in command prompt?

    Thank you for pointing this out.

    My textbook says that packaging is not a container for classes, like namespaces, but rather defines where they are located. So you must have a package statement...
  8. Classpath override not working correctly in command prompt?

    I am trying to run my program in command prompt using -classpath override. Take a look at what i tried here, and what resulted when I tried to give the classpath from a higher root directory. I am...
  9. Replies
    18
    Views
    3,426

    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...
  10. Replies
    18
    Views
    3,426

    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...
  11. Replies
    18
    Views
    3,426

    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
  12. Replies
    18
    Views
    3,426

    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?
  13. Replies
    18
    Views
    3,426

    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...
  14. Replies
    18
    Views
    3,426

    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:
  15. Replies
    18
    Views
    3,426

    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...
  16. Replies
    18
    Views
    3,426

    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.
    ...
  17. Replies
    18
    Views
    3,426

    Re: .java File not found

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

    .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 18 of 18