Menu

#230 re: import of the java files into interactions

closed-duplicate
nobody
5
2003-10-03
2003-10-03
Anonymous
No

I was mistaken in saying importing .java files. What i
meant was when imorting the class. When others are
able to enter:
> import lab5.Lamp;
>Lamp lamp = new Lamp(argument);
>lamp.wattagee()
- they get correct results....but unfortunately for
me and others this has to be entered.
>import lab5.Lamp;
>lab5.Lamp lamp = new lab5.Lamp(arg);
>lamp.wattage()
-only then do we not get an error. Why is this the
case for some and not others. All Classpaths are
preset by the SysOP so I don't think the classpaths
would be different. Does anyone have ideas??? Please!?

kmerrick@cs.uno.edu

Discussion

  • Charles Reis

    Charles Reis - 2003-10-03

    Logged In: YES
    user_id=429731

    Hi--
    Two quick comments about how to submit bugs / support
    requests for DrJava on Sourceforge. First, to post a follow
    up to a bug (eg. this is a follow-up to bug 816776), visit
    the original bug's web page and use the "Attach a Comment"
    form rather than opening a new bug. This just helps us keep
    better track of where we are on the open bugs. Second, it's
    much easier for us if you create a SourceForge account and
    log in before posting bugs or comments. We don't require
    this, but you'll get emailed automatically when we post an
    update to something you submit. (I mention this because you
    put your email address in the bug report-- that's not
    necessary if you log in.)

    So... I'm going to re-post your comment to your original
    bug report and close this report. I'll follow up there, but
    my quick intuition is that you probably have another Lamp
    class somewhere on your classpath. See the link below to
    continue the discussion:

    https://sourceforge.net/tracker/?func=detail&atid=438935&aid=816776&group_id=44253

    Thanks!
    Charlie

     
  • Charles Reis

    Charles Reis - 2003-10-03
    • status: open --> closed-duplicate
     

Log in to post a comment.