atl03001
YaBB Newbies
Posts: 26
|
Hey guys, I am trying to revise the console using Eclipse as my java compiler. I copied and pasted the code from site into a java file named SRV1Console.java Additionally, put that file in the following dir: "C:\com\surveyor\" because I figured that's the only way the compiler would make sense of the "import com.surveyor.wstreamd.*;" line in the code. I also included the ImageButton.class, RXTXcomm.jar, wstreamd_embed.jar, and the SRV1Console.java in that folder as well. I figured I could do that instead of running "javac -classpath .:ImageButton:RXTXcomm.jar:wstreamd_embed.jar: SRV1Console.java" from the command prompt. This unfortunately does not work... the compiler can not find the gnu.io package nor can it find the com.surveyor.wmstreamd package (it gives me errors at those two lines plus others because of those at run-time). The lines of code I am referring to are: import gnu.io.*; import com.surveyor.wstreamd.*; Can someone help me please! I am getting very frustrated... I am running this on WinXP with the newest JDK installed. Another note, I decided to just extract the SRV1Console.zip contents into the same folder with my java file so that I could cover all bases. Thanks in advance.
|