I'm trying to use applet to connect to a server. But I keep getting java.lang.RuntimePremission exitVM exception.
Can anyone help me with this one please????
Printable View
I'm trying to use applet to connect to a server. But I keep getting java.lang.RuntimePremission exitVM exception.
Can anyone help me with this one please????
Is the server the same one that served the applet? If not then you can't connect to it.
Yep you can. You need to sign your applet and then you can use socket to connect to any known server.