Results 1 to 5 of 5
  1. #1
    IceNine is offline Member
    Join Date
    Mar 2013
    Posts
    33
    Rep Power
    0

    Default Trying To Follow A Tutorial Online Need Some Help

    so im attempting to do this tutorial on RabbitMQ. I am a little confused about the part inthe grey box where it says (below) My question is what does it mean to unzip it in my working directory and grab the jar files. By working directory do they mean my netbeans project folder which contains my program? or do they mean somewhere else?


    The Java client library

    RabbitMQ speaks AMQP, which is an open, general-purpose protocol for messaging. There are a number of clients for AMQP in many different languages. We'll use the Java client provided by RabbitMQ.

    Download the client library package, and check its signature as described. Unzip it into your working directory and grab the JAR files from the unzipped directory:

    $ unzip rabbitmq-java-client-bin-*.zip
    $ cp rabbitmq-java-client-bin-*/*.jar ./

    (The RabbitMQ Java client is also in the central Maven repository, with the groupId com.rabbitmq and the artifactId amqp-client.)
    Last edited by IceNine; 04-17-2013 at 12:30 AM.

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    757
    Rep Power
    8

    Default Re: Trying To Follow A Tutorial Online Need Some Help

    What it means by unzipping in the working directory is anywhere you want to unzip the rabbitmq file. And your netbeans project will only need to use the jar file from the rabbitmq distribution.

  3. #3
    IceNine is offline Member
    Join Date
    Mar 2013
    Posts
    33
    Rep Power
    0

    Default Re: Trying To Follow A Tutorial Online Need Some Help

    Okay So what exactly do i do with the jar files im assuming i need to put them somewhere?

    Quote Originally Posted by wsaryada View Post
    What it means by unzipping in the working directory is anywhere you want to unzip the rabbitmq file. And your netbeans project will only need to use the jar file from the rabbitmq distribution.
    Last edited by IceNine; 04-17-2013 at 01:02 AM.

  4. #4
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    757
    Rep Power
    8

    Default Re: Trying To Follow A Tutorial Online Need Some Help

    You'll need to add the jar file into your netbeans project. So that you can compile your code. When you follow the tutorial you'll see that you have to import the classes from the rabbitmq into your code. Like the following statements:

    Java Code:
    import com.rabbitmq.client.ConnectionFactory;
    import com.rabbitmq.client.Connection;
    import com.rabbitmq.client.Channel;
    To make your program found this imported classes you have to add it to your netbeans project library.

  5. #5
    IceNine is offline Member
    Join Date
    Mar 2013
    Posts
    33
    Rep Power
    0

    Default Re: Trying To Follow A Tutorial Online Need Some Help

    Okay thank you for your help you resolved my problem.

    Quote Originally Posted by wsaryada View Post
    You'll need to add the jar file into your netbeans project. So that you can compile your code. When you follow the tutorial you'll see that you have to import the classes from the rabbitmq into your code. Like the following statements:

    Java Code:
    import com.rabbitmq.client.ConnectionFactory;
    import com.rabbitmq.client.Connection;
    import com.rabbitmq.client.Channel;
    To make your program found this imported classes you have to add it to your netbeans project library.

Similar Threads

  1. Online Selenium Training | Free Selenium Tutorial | Learn Selenium
    By seleniumonlinetraining in forum Reviews / Advertising
    Replies: 2
    Last Post: 08-16-2012, 05:58 PM
  2. Object follow mouse
    By Joey0412 in forum New To Java
    Replies: 19
    Last Post: 04-22-2012, 04:39 PM
  3. Writing easy to follow code...
    By N00Bie in forum New To Java
    Replies: 11
    Last Post: 02-21-2011, 10:40 PM
  4. Replies: 0
    Last Post: 11-23-2009, 10:46 AM

Posting Permissions

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