[Dxspider-support] java applet error in compiling

IZ5FSA iz5fsa at gmail.com
Sat Jan 3 08:51:09 GMT 2009


I cannor compile the java-applet.

LinuxBox info:
sysop at ir5un:~/spider/spider-web$ uname -a
Linux ir5un 2.6.18-6-686 #1 SMP Mon Oct 13 16:13:09 UTC 2008 i686 GNU/Linux
sysop at ir5un:~/spider/spider-web$

sysop at ir5un:~/spider/spider-web$ javac -v
Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp 2000, 2006. 
All rights reserved.
sysop at ir5un:~/spider/spider-web$



After message you can see the compiler answer... :-(

Any trick?

  vy 73s de Leo, IZ5FSA

          \\|//
          (- o)
+----oooO-(_)-Oooo----+
|      MDXC # 201     |
|      YACT # 001     |
| www.ariscandicci.it |
|   www.425dxn.org    |
+----oooO-----Oooo----+

Compiling results:
sysop at ir5un:~/spider/spider-web$ /usr/bin/javac spiderclient.java
----------
1. WARNING in spiderclient.java (at line 7)
  public class spiderclient extends Applet {
               ^^^^^^^^^^^^
The serializable class spiderclient does not declare a static final 
serialVersionUID field of type long
----------
2. ERROR in spiderclient.java (at line 12)
  cf = new spiderframe(this);
  ^^
cf cannot be resolved
----------
3. ERROR in spiderclient.java (at line 12)
  cf = new spiderframe(this);
           ^^^^^^^^^^^
spiderframe cannot be resolved to a type
----------
4. ERROR in spiderclient.java (at line 13)
  cf.resize(800,600);
  ^^
cf cannot be resolved
----------
5. ERROR in spiderclient.java (at line 16)
  if (p != null) cf.setCall(p);
                 ^^
cf cannot be resolved
----------
6. ERROR in spiderclient.java (at line 19)
  if (p != null) cf.setPassword(p);
                 ^^
cf cannot be resolved
----------
7. ERROR in spiderclient.java (at line 22)
  if (p != null) cf.setFullname(p);
                 ^^
cf cannot be resolved
----------
8. ERROR in spiderclient.java (at line 25)
  if (p != null) cf.setHostname(p);
                 ^^
cf cannot be resolved
----------
9. ERROR in spiderclient.java (at line 28)
  if (p != null) cf.setPort(p);
                 ^^
cf cannot be resolved
----------
10. ERROR in spiderclient.java (at line 31)
  if (p != null) cf.setChannel(p);
                 ^^
cf cannot be resolved
----------
11. ERROR in spiderclient.java (at line 34)
  if (p != null) cf.setNodecall(p);
                 ^^
cf cannot be resolved
----------
12. ERROR in spiderclient.java (at line 38)
  cf.resize(655, 380);
  ^^
cf cannot be resolved
----------
13. ERROR in spiderclient.java (at line 40)
  cf.show();
  ^^
cf cannot be resolved
----------
14. ERROR in spiderclient.java (at line 45)
  s = new Socket(cf.getHostname(), Integer.parseInt(cf.getPort()));
                 ^^
cf cannot be resolved
----------
15. ERROR in spiderclient.java (at line 45)
  s = new Socket(cf.getHostname(), Integer.parseInt(cf.getPort()));
                                                    ^^
cf cannot be resolved
----------
16. ERROR in spiderclient.java (at line 48)
  cf.initPrintStream(out);
  ^^
cf cannot be resolved
----------
17. ERROR in spiderclient.java (at line 50)
  listener = new StreamListener(cf, in);
                                ^^
cf cannot be resolved
----------
18. ERROR in spiderclient.java (at line 52)
  out.println(cf.getCall());
              ^^
cf cannot be resolved
----------
19. ERROR in spiderclient.java (at line 54)
  if(cf.getPassword().length() > 0) {
     ^^
cf cannot be resolved
----------
20. ERROR in spiderclient.java (at line 55)
  out.println(cf.getPassword());
              ^^
cf cannot be resolved
----------
21. ERROR in spiderclient.java (at line 60)
  InfoDialog id = new InfoDialog(cf, "Error", e.toString());
  ^^^^^^^^^^
InfoDialog cannot be resolved to a type
----------
22. ERROR in spiderclient.java (at line 60)
  InfoDialog id = new InfoDialog(cf, "Error", e.toString());
                      ^^^^^^^^^^
InfoDialog cannot be resolved to a type
----------
23. ERROR in spiderclient.java (at line 60)
  InfoDialog id = new InfoDialog(cf, "Error", e.toString());
                                 ^^
cf cannot be resolved
----------
24. ERROR in spiderclient.java (at line 62)
  cf.connected();
  ^^
cf cannot be resolved
----------
25. ERROR in spiderclient.java (at line 71)
  InfoDialog id = new InfoDialog(cf, "Error", e.toString());
  ^^^^^^^^^^
InfoDialog cannot be resolved to a type
----------
26. ERROR in spiderclient.java (at line 71)
  InfoDialog id = new InfoDialog(cf, "Error", e.toString());
                      ^^^^^^^^^^
InfoDialog cannot be resolved to a type
----------
27. ERROR in spiderclient.java (at line 71)
  InfoDialog id = new InfoDialog(cf, "Error", e.toString());
                                 ^^
cf cannot be resolved
----------
28. ERROR in spiderclient.java (at line 73)
  cf.disconnected();
  ^^
cf cannot be resolved
----------
29. ERROR in spiderclient.java (at line 88)
  spiderframe cf;
  ^^^^^^^^^^^
spiderframe cannot be resolved to a type
----------
30. ERROR in spiderclient.java (at line 93)
  spiderframe cf;
  ^^^^^^^^^^^
spiderframe cannot be resolved to a type
----------
31. ERROR in spiderclient.java (at line 95)
  public StreamListener(spiderframe cf, DataInputStream in) {
                        ^^^^^^^^^^^
spiderframe cannot be resolved to a type
----------
32. ERROR in spiderclient.java (at line 97)
  this.cf = cf;
       ^^
cf cannot be resolved or is not a field
----------
33. WARNING in spiderclient.java (at line 106)
  line = in.readLine();
         ^^^^^^^^^^^^^
The method readLine() from the type DataInputStream is deprecated
----------
34. ERROR in spiderclient.java (at line 112)
  cf.setText(line);
  ^^
cf cannot be resolved
----------
35. ERROR in spiderclient.java (at line 114)
  cf.disconnected();
  ^^
cf cannot be resolved
----------
36. ERROR in spiderclient.java (at line 117)
  cf.setText(e.toString());
  ^^
cf cannot be resolved
----------
37. ERROR in spiderclient.java (at line 118)
  cf.disconnected();
  ^^
cf cannot be resolved
----------
38. ERROR in spiderclient.java (at line 120)
  finally { cf.setText("Connection closed by server."); }
            ^^
cf cannot be resolved
----------
38 problems (36 errors, 2 warnings)sysop at ir5un:~/spider/spider-web$



More information about the Dxspider-support mailing list