Page 2 of 2 FirstFirst 12
Results 21 to 26 of 26
  1. #21
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,586
    Rep Power
    5

    Default Re: Can't compile a class that invokes a method in a class in a different package

    Quote Originally Posted by mikomi View Post
    Except, in the end, I was not wrong. Do try to keep up.
    Says you.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  2. #22
    mikomi is offline Member
    Join Date
    Jul 2013
    Posts
    28
    Rep Power
    0

    Default Re: Can't compile a class that invokes a method in a class in a different package

    Yes, says me. Prove me wrong.

  3. #23
    SurfMan's Avatar
    SurfMan is online now Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    892
    Rep Power
    2

    Default Re: Can't compile a class that invokes a method in a class in a different package

    I have studied your example, and from what I can see, there should be a test.class in that directory that does not have a Test7 public variable.

  4. #24
    allaudin's Avatar
    allaudin is offline Senior Member
    Join Date
    Apr 2013
    Posts
    271
    Rep Power
    0

    Default Re: Can't compile a class that invokes a method in a class in a different package

    Well, Forums are to solve problems not to create ...

  5. #25
    SurfMan's Avatar
    SurfMan is online now Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    892
    Rep Power
    2

    Default Re: Can't compile a class that invokes a method in a class in a different package

    Quote Originally Posted by SurfMan View Post
    I have studied your example, and from what I can see, there should be a test.class in that directory that does not have a Test7 public variable.
    Shame, no bite... :) Ah well, the story at Oracle was amusing. Except for those who really put some time in.

  6. #26
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,750
    Rep Power
    19

    Default Re: Can't compile a class that invokes a method in a class in a different package

    This thread (and its partner) makes me smile...
    :)

    It's a classic example of how a forum cannot answer a question with incomplete information.
    A simple dir of both directories would have provided us with the info to actually answer the problem, but only providing a dir with a filter was actually masking the problem.

    Oh well...
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 5
    Last Post: 06-03-2012, 07:20 PM
  2. Replies: 1
    Last Post: 10-17-2011, 01:00 AM
  3. calling method of different project package class
    By oneofthelions in forum New To Java
    Replies: 3
    Last Post: 02-16-2010, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •