Results 1 to 5 of 5
  1. #1
    teaicky is offline Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    0

    Default Problem import query.*

    Hi All,

    I am reading the source code for Java instr package (Java Source Code Instrumentation), which is based on the package query. But I can't get the instr package compiled in eclipse, since it can't find "import query.*"

    I wonder how I can get the "import query.*" work?

    Thanks a lot!

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Have you added the jar files to your Eclipse project's Java Build Path? If not, you'll need to do this first for import to work.

  3. #3
    teaicky is offline Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    Have you added the jar files to your Eclipse project's Java Build Path? If not, you'll need to do this first for import to work.
    No... what jar files do I need to get the query package to work?

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by teaicky View Post
    No... what jar files do I need to get the query package to work?
    Hm, the ones that contain the classes you need. Does the code come with any documentation?

  5. #5
    teaicky is offline Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    Hm, the ones that contain the classes you need. Does the code come with any documentation?
    Yes there is. I put it in the attachment. I've tried searching the internet but I can't find the relevant jar files.
    Attached Files Attached Files

Similar Threads

  1. Problem with import libraries
    By sarwar1234 in forum New To Java
    Replies: 3
    Last Post: 09-21-2010, 11:38 AM
  2. import problem
    By anki.gulsvart in forum Networking
    Replies: 9
    Last Post: 10-16-2009, 08:03 PM
  3. Import java.io.* problem
    By DD70 in forum New To Java
    Replies: 3
    Last Post: 07-28-2009, 11:45 PM
  4. problem with displaying data from hql query
    By omesanni in forum Web Frameworks
    Replies: 1
    Last Post: 01-05-2009, 11:03 AM
  5. problem in select query
    By herfnai in forum JDBC
    Replies: 0
    Last Post: 08-17-2008, 12:47 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
  •