Results 1 to 3 of 3
  1. #1
    jan2321 is offline Member
    Join Date
    Nov 2008
    Posts
    5
    Rep Power
    0

    Default Problems adding an external class

    Hello,

    i am trying to add an external junit 4 class (no source, just the class file) to my project. I add an external Class folder from the Project/Properties/Libraries window. When i run the class it complains that it cant find any of the classes in the rest of the project. am i missing anything here.

    Note if i add all the projects in this external class folder it runs successfully so i know nothing is wrong with this junit class.

    your help is appreciated.

  2. #2
    jan2321 is offline Member
    Join Date
    Nov 2008
    Posts
    5
    Rep Power
    0

    Default

    just a correction on my description when i add the classes from the project to the same external class folder it runs successfully however i am guessing i should not have to do this and instead use the eclipse gui to do the class properly

  3. #3
    jan2321 is offline Member
    Join Date
    Nov 2008
    Posts
    5
    Rep Power
    0

    Default

    also i want pointout that the package name in the external class is different than what is used in the project which is probably behind the issues i am having

Similar Threads

  1. Adding a new class to a jar file
    By Raul Menendez in forum New To Java
    Replies: 2
    Last Post: 08-21-2008, 04:52 PM
  2. Inner class problems
    By orchid in forum New To Java
    Replies: 2
    Last Post: 08-13-2008, 08:56 AM
  3. Scanner class problems
    By sypherz in forum New To Java
    Replies: 6
    Last Post: 06-09-2008, 09:46 AM
  4. Eclipse adding $1.class files
    By eboraks in forum Eclipse
    Replies: 1
    Last Post: 11-28-2007, 04:35 PM
  5. External Program execution problems
    By vital101 in forum Advanced Java
    Replies: 3
    Last Post: 10-30-2007, 05:17 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
  •