Dobrý den,
potřeboval bych poradit ohledně programu http://sourceforge.net/projects/teachercp/ Teacher Control Panel.
Potreboval bych aby program student.jar se spouštěl v několika místnostech ale vždy na jiném portu. Defaultně je nastaven 3000, tak třeba 3000-3011. Jsou u toho zdrojové kódy,ale v java se nevyznám myslím že je to toto src\student\kello\teacher\student\student.java a zde defaultProperties.setProperty("teacher-multicast-port", "3000");. Pokud je toto správně přepíši port ale již se mi to nedaří zkompilovat vypisuje to toto:
Compiling 1 source file to C:\JavaProject8\build\classes
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:40: package kello.teacher.protocol does not exist
import kello.teacher.protocol.RfbServerDescription;
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:41: package kello.teacher.rfb does not exist
import kello.teacher.rfb.MulticastRfbOptions;
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:42: package kello.teacher.rfb.viewer does not exist
import kello.teacher.rfb.viewer.JRfbMulticastViewer;
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:46: cannot find symbol
symbol : class TeacherHandler
location: class kello.teacher.student.Student
private TeacherHandler teacher;
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:48: cannot find symbol
symbol : class StudentControlChannelListener
location: class kello.teacher.student.Student
private StudentControlChannelListener control;
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:51: cannot find symbol
symbol : class JRfbMulticastViewer
location: class kello.teacher.student.Student
private JRfbMulticastViewer viewer;
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:53: cannot find symbol
symbol : class ScreenLocker
location: class kello.teacher.student.Student
private ScreenLocker locker;
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:116: cannot find symbol
symbol : class MulticastRfbOptions
location: class kello.teacher.student.Student
private void buildFullscreenFrame(MulticastRfbOptions opt, String group, int port, RfbServerDescription desc) throws UnknownHostException, IOException {
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:116: cannot find symbol
symbol : class RfbServerDescription
location: class kello.teacher.student.Student
private void buildFullscreenFrame(MulticastRfbOptions opt, String group, int port, RfbServerDescription desc) throws UnknownHostException, IOException {
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:128: cannot find symbol
symbol : class MulticastRfbOptions
location: class kello.teacher.student.Student
private void buildNonFullscreenFrame(MulticastRfbOptions opt, String group, int port, RfbServerDescription desc) throws UnknownHostException, IOException {
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:128: cannot find symbol
symbol : class RfbServerDescription
location: class kello.teacher.student.Student
private void buildNonFullscreenFrame(MulticastRfbOptions opt, String group, int port, RfbServerDescription desc) throws UnknownHostException, IOException {
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:158: cannot find symbol
symbol : class RfbServerDescription
location: class kello.teacher.student.Student
public synchronized void startDemo(String group, int port, RfbServerDescription desc, boolean fullscreen) {
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:211: cannot find symbol
symbol : class TeacherHandler
location: class kello.teacher.student.Student
public TeacherHandler getTeacher() {
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:84: cannot find symbol
symbol : class StudentControlChannelListener
location: class kello.teacher.student.Student
control = new StudentControlChannelListener(properties.getProperty("teacher-multicast-group"), Integer.parseInt(properties.getProperty("teacher-multicast-port")), this);
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:89: cannot find symbol
symbol : class ScreenLocker
location: class kello.teacher.student.Student
this.locker = new ScreenLocker();
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:104: cannot find symbol
symbol : class TeacherHandler
location: class kello.teacher.student.Student
teacher = new TeacherHandler(s, this);
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:118: cannot find symbol
symbol : class JRfbMulticastViewer
location: class kello.teacher.student.Student
viewer = new JRfbMulticastViewer(false, desc, opt);
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:134: cannot find symbol
symbol : class JRfbMulticastViewer
location: class kello.teacher.student.Student
viewer = new JRfbMulticastViewer(false, desc, opt);
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:165: cannot find symbol
symbol : class MulticastRfbOptions
location: class kello.teacher.student.Student
MulticastRfbOptions opt = new MulticastRfbOptions();
^
C:\teachercp-0.1\src\student\kello\teacher\student\Student.java:165: cannot find symbol
symbol : class MulticastRfbOptions
location: class kello.teacher.student.Student
MulticastRfbOptions opt = new MulticastRfbOptions();
^
20 errors
BUILD FAILED (total time: 0 seconds)
Předem díky za Pomoc
Fórum › Java
TCP


Přidej příspěvek
Toto téma je starší jak čtvrt roku – přidej svůj příspěvek jen tehdy, máš-li k tématu opravdu co říct!
Ano, opravdu chci reagovat → zobrazí formulář pro přidání příspěvku
×Vložení zdrojáku
×Vložení obrázku
×Vložení videa
Aktuálně jsou podporována videa ze serverů YouTube, Vimeo a Dailymotion.
×






























































Uživatelé prohlížející si toto vlákno
Uživatelé on-line: 0 registrovaných, 7 hostů
Podobná vlákna
TCP server, TCP klient v Linuxu — založil kocourOggy
Tcp/Ip C++ — založil Kenvelo
Multiplayer tcp/ip — založil Samuel Lehotský
TCP Sniffer v C# — založil CZechBoY
Moderátoři diskuze