not able to run program which contains "import net.jini.core.event.RemoteEventListener"

Viswanadh <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <LISTSERV%[email protected]>
Hi,

I am trying to execute Extended Example "Home Audio System" from Jan's
Online Tutorial. I got a problem while executing the
audio.common.Source.java file. While compiling Source.java file, it shows

common/Source.java:20: cannot find symbol
symbol : class AlreadyPlayingException
location: interface audio.common.Source
     void play() throws RemoteException, AlreadyPlayingException;
                                         ^

common/Source.java:21: cannot find symbol
symbol : class NotPlayingException
location: interface audio.common.Source
    void stop() throws RemoteException, NotPlayingException;
......................
.......................
......................
7 errors.

I have started the JINI2_1 Service Browser and tried to compile the file using

javac -classpath
/opt/jini2_1/lib/jini-core.jar:/opt/jini2_1/lib/jsk-lib.jar:/opt/jini2_1/lib/jsk-platform.jar:/opt/audio/
common/Source.java

But it shows errors. I think Service Browser doesn't support for
net.jini.core.event.* or it doesnt loaded/started jini.core.event.

How can i solve this problem, anybody can please help me. I will be thankful

Thanks in advance.

-Viswanadh.K

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.