נסיון להפעיל eclipse
שלום , ניסיתי לבנות תוכנית hello world קטנה בeclipse ע"פ המדריך שלהם. עשיתי הכל וeclipse לא סימן לי שום שגיאה בקוד עצמו /* * Created on 26/11/2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ /** * @author * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class hellow_m { public static void main(String[] args) { System.out.println("hello world"); } } ,אבל כשהרצתי קיבלתי את הפלט הבא: Activation.main: warning: sun.rmi.activation.execPolicy system property unspecified and no ExecPermissions/ExecOptionPermissions granted; subsequent activation attempts may fail due to unsuccessful ExecPermission/ExecOptionPermission permission checks. For documentation on how to configure rmid security, refer to: http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html Activation.main: an exception occurred: Port already in use: 1098; nested exception is: java.net.BindException: Address already in use: JVM_Bind java.rmi.server.ExportException: Port already in use: 1098; nested exception is: java.net.BindException: Address already in use: JVM_Bind at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243) at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382) at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116) at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145) at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92) at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78) at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:164) at sun.rmi.server.Activation.main(Activation.java:2049) Caused by: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:318) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:97) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333) at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:615) at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:231) ... 8 more מה אני עושה לא נכון?
שלום , ניסיתי לבנות תוכנית hello world קטנה בeclipse ע"פ המדריך שלהם. עשיתי הכל וeclipse לא סימן לי שום שגיאה בקוד עצמו /* * Created on 26/11/2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ /** * @author * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class hellow_m { public static void main(String[] args) { System.out.println("hello world"); } } ,אבל כשהרצתי קיבלתי את הפלט הבא: Activation.main: warning: sun.rmi.activation.execPolicy system property unspecified and no ExecPermissions/ExecOptionPermissions granted; subsequent activation attempts may fail due to unsuccessful ExecPermission/ExecOptionPermission permission checks. For documentation on how to configure rmid security, refer to: http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html Activation.main: an exception occurred: Port already in use: 1098; nested exception is: java.net.BindException: Address already in use: JVM_Bind java.rmi.server.ExportException: Port already in use: 1098; nested exception is: java.net.BindException: Address already in use: JVM_Bind at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243) at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382) at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116) at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145) at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92) at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78) at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:164) at sun.rmi.server.Activation.main(Activation.java:2049) Caused by: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:318) at java.net.ServerSocket.<init>(ServerSocket.java:185) at java.net.ServerSocket.<init>(ServerSocket.java:97) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333) at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:615) at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:231) ... 8 more מה אני עושה לא נכון?