Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2012
    Location
    Visakhapatnam
    Posts
    2
    Rep Power
    0

    Default Getting package not found error while calling a java program.

    I have written a sample java program, in which I have imported a package com.ibm.mq.
    While compilation in as400 machine,I am getting an error like package com.ibm.mq not found.

    I have set classpath and also run a hello world program.

    Can any one help regarding this.

    Thanks in advance.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,879
    Rep Power
    8

    Default Re: Getting package not found error while calling a java program.

    Where is that package located? Is that location on your classpath? How are you compiling this?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Join Date
    Nov 2012
    Location
    Visakhapatnam
    Posts
    2
    Rep Power
    0

    Default Re: Getting package not found error while calling a java program.

    I have placed the jar in LIB folder.

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,879
    Rep Power
    8

    Default Re: Getting package not found error while calling a java program.

    That doesn't mean it's on your classpath. What is your classpath?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Non-static variable error now a package not found error
    By Humphrey Bogart in forum New To Java
    Replies: 2
    Last Post: 05-06-2013, 10:03 PM
  2. Package not found
    By garet jax in forum New To Java
    Replies: 10
    Last Post: 12-05-2012, 07:59 AM
  3. Replies: 6
    Last Post: 03-01-2012, 03:07 PM
  4. Package not found
    By doncigalo in forum New To Java
    Replies: 3
    Last Post: 10-25-2010, 06:06 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
  •