Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Getting Error in running Bully Algorithm

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Getting Error in running Bully Algorithm

    ...

    After compiling this program i m getting error :
    cannot find symbol
    class :MessageQueue

    Please suggest me how to resolve this error.

    Thanks in advance...
    Last edited by copeg; February 16th, 2012 at 07:24 PM.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Getting Error in running Bully Algorithm

    Where is the symbol MessageQueue defined? The compiler can not find a definition for it.
    If it is a class, you probably need an import statement that tells the compiler what package it is in.

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Getting Error in running Bully Algorithm

    I have edited your post due to a report of possible copyright violations. If you copied and pasted this from a textbook, please respect the copyrights of said textbook.

Similar Threads

  1. [SOLVED] Program is running successfully but still getting error message..
    By sumit043020701 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 24th, 2011, 12:26 AM
  2. Error Running Java in Eclipse
    By steadyonabix in forum Java IDEs
    Replies: 1
    Last Post: September 3rd, 2011, 10:28 PM
  3. Error while running Applet
    By rameshiit19 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: August 1st, 2011, 04:02 AM
  4. [SOLVED] Towers of Hanoi Algorithm Error once i get to 3 disks??
    By courtenay in forum What's Wrong With My Code?
    Replies: 2
    Last Post: May 11th, 2011, 12:06 AM
  5. Runtime Error running in UVA
    By mathfxr in forum What's Wrong With My Code?
    Replies: 1
    Last Post: September 17th, 2010, 02:06 PM