next up previous contents
Next: Running a Demo Program Up: Installation and Configuration Previous: iBus

Testing your Setup

To see whether your system can find the JavaGroups classes, execute the following command:

 javap JavaGroups.Channel

You should see the following output if the class is found (may vary slightly):

    Compiled from Channel.java
    public abstract synchronized class JavaGroups.Channel 
           extends java.lang.Object implements JavaGroups.Transport 
    /* ACC_SUPER bit set */
    {
    public static final int BLOCK;
    public static final int VIEW;
    public static final int SUSPECT;
    public static final int LOCAL;
    protected JavaGroups.Channel();
    protected JavaGroups.Channel(java.lang.Object);
    public abstract void Connect(java.lang.Object);
    public abstract void Disconnect();
    public abstract void Close();
    public abstract void Send(JavaGroups.Message);
    public abstract java.lang.Object Receive(long);
    public abstract java.lang.Object Peek(long);
    public abstract JavaGroups.View GetView();
    public abstract java.lang.Object GetLocalAddress();
    public abstract java.lang.Object GetGroupAddress();
    public abstract void SetOpt(int, java.lang.Object);
    public abstract java.lang.Object GetOpt(int);
    public abstract void BlockOk();
    }

Javap lists the variables and methods of class Channel. If this does not work, the JavaGroups classes have not been added correctly to your CLASSPATH. Go back to the installation instructions to correct this problem.




1999-12-13