harmmeijer
Programmer
I am new to java so this might be a simple mistake I am making but I cannot seem to make an example work.
compiled the KnockKnockProtocol.java
put the KnockKnockProtocol.class in the classpath.
tried to compile the KnockKnockServer.java but get an error:
C:\j2sdk1.4.0_03\bin>javac code\KnockKnockServer.java
code\KnockKnockServer.java:28: cannot resolve symbol
symbol : class KnockKnockProtocol
location: class KnockKnockServer
KnockKnockProtocol kkp = new KnockKnockProtocol();
^
code\KnockKnockServer.java:28: cannot resolve symbol
symbol : class KnockKnockProtocol
location: class KnockKnockServer
KnockKnockProtocol kkp = new KnockKnockProtocol();
^
2 errors
The example does tell you how to run the program but there is nothing to run because the code won't compile.
compiled the KnockKnockProtocol.java
put the KnockKnockProtocol.class in the classpath.
tried to compile the KnockKnockServer.java but get an error:
C:\j2sdk1.4.0_03\bin>javac code\KnockKnockServer.java
code\KnockKnockServer.java:28: cannot resolve symbol
symbol : class KnockKnockProtocol
location: class KnockKnockServer
KnockKnockProtocol kkp = new KnockKnockProtocol();
^
code\KnockKnockServer.java:28: cannot resolve symbol
symbol : class KnockKnockProtocol
location: class KnockKnockServer
KnockKnockProtocol kkp = new KnockKnockProtocol();
^
2 errors
The example does tell you how to run the program but there is nothing to run because the code won't compile.