Search:

Type: Posts; User: syedk01

Search: Search took 0.60 seconds.

  1. Replies
    8
    Views
    225

    Re: I have a question about import statements

    Hello Syedbhai
    I added the jar files to the directory I am compiling in. I get the same error. I am not using IDE. Since the all the files (CLASS, JAVA and JAR_ are in the same directory - I...
  2. Replies
    8
    Views
    225

    Re: I have a question about import statements

    Hello Syed
    I get the following errors. I do have the "source" to ScoringRequest.java" and "ScoringResponse.java". Do you think I need to "build" a "Scoring" package?
    ...
  3. Replies
    8
    Views
    225

    Re: I have a question about import statements

    Thanks for your quick response.
    I have the code in the same directory as in ScoringRequest.class and ScoringResponse.class. How would I go about putting them in a package so I can import them?
  4. Replies
    8
    Views
    225

    I have a question about import statements

    My compile gives error

    --- Update ---

    javac Scoring.java

    Scoring.java:37: error: '.' expected
    import ScoringRequest;
    ^
    Scoring.java:37: error: ';' expected
Results 1 to 4 of 4