Server errors:
Code:
src\server\Server.java:256: error: cannot find symbol if(c.getOut() != null && c != null && id != -1) {
^
symbol: variable c
location: class Server
src\server\Server.java:256: error: cannot find symbol
if(c.getOut() != null && c != null && id != -1) {
^
symbol: variable c
location: class Server
src\server\Server.java:257: error: cannot find symbol
c.getOut().putOpCode(174);
^
symbol: variable c
location: class Server
src\server\Server.java:258: error: cannot find symbol
c.getOut().writeShort(id);
^
symbol: variable c
location: class Server
src\server\Server.java:259: error: cannot find symbol
c.getOut().writeByte(type);
^
symbol: variable c
location: class Server
src\server\Server.java:260: error: cannot find symbol
c.getOut().writeShort(delay);
^
symbol: variable c
location: class Server
src\server\Server.java:261: error: cannot find symbol
c.getOut().writeShort(volume);
^
symbol: variable c
location: class Server
src\server\Server.java:262: error: cannot find symbol
c.flushOutStream();
^
symbol: variable c
location: class Server
src\server\Server.java:266: error: cannot find symbol
if (c.getOut() != null && c != null && id != -1) {
^
symbol: variable c
location: class Server
src\server\Server.java:266: error: cannot find symbol
if (c.getOut() != null && c != null && id != -1) {
^
symbol: variable c
location: class Server
src\server\Server.java:267: error: cannot find symbol
c.getOut().putOpCode(74);
^
symbol: variable c
location: class Server
src\server\Server.java:268: error: cannot find symbol
c.getOut().writeWordBigEndian(id);
^
symbol: variable c
location: class Server
src\server\Server.java:273: error: cannot find symbol
if (c.getOut() != null && c != null) {
^
symbol: variable c
location: class Server
src\server\Server.java:273: error: cannot find symbol
if (c.getOut() != null && c != null) {
^
symbol: variable c
location: class Server
src\server\Server.java:274: error: cannot find symbol
c.getOut().putOpCode(121);
^
symbol: variable c
location: class Server
src\server\Server.java:275: error: cannot find symbol
c.getOut().writeWordBigEndian(id);
^
symbol: variable c
location: class Server
src\server\Server.java:276: error: cannot find symbol
c.getOut().writeWordBigEndian(songDelay);
^
symbol: variable c
location: class Server
src\server\Server.java:277: error: cannot find symbol
c.flushOutStream();
^
symbol: variable c
location: class Server
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
18 errors
Press any key to continue . . .
Client errors:
Code:
client.java:2407: error: cannot find symbol
previousSong = 0;
^
symbol: variable previousSong
location: class client
.\SoundPlayer.java:10: error: duplicate class: src.SoundPlayer
public class SoundPlayer implements Runnable {
^
client.java:2412: error: cannot access SoundPlayer
SoundPlayer.setVolume(k);
^
bad source file: .\SoundPlayer.java
file does not contain class SoundPlayer
Please remove or make sure it appears in the correct subdirectory of the sou
rcepath.
3 errors
Press any key to continue . . .