Recently, I started to engage in Eclipse SWT. It was good. Who knows that the following error was reported when I started an Application:
Activation. main:
Warning sun.rmi.activation.exe cPolicy System
The property is not specified and ExecPermissions/ExecOptionPermissions
Not authorized. Subsequent activation attempts failed because
ExecPermission/ExecOptionPermission
Failed to check permissions. About how
Configure rmid
For more information about security, see:
Http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
Http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
I checked the program for half a day and there was no problem. The last error may be caused by Eclipse. Creating a simple Hello world still fails. Google + baidu did not find a clear answer.
Only some scripts are used. Some rmiers still need the file sun.rmi.activation.exe cPolicy, which is not found in the Eclipse and jdk directories.
Finally, an accidental phenomenon caught my attention. When I select the running mode-> java
Application. After searching, the first one is "Activation-
Sun. rmi. server "type. I want to make a little effort. Oh, it turns out that:
It's just because Eclipse is dumpily looking for the main to list so many startup classes (including main), and Activation is sorted first, so we didn't set the relevant permissions for it. So...
Repeat the preceding operation and enter your class name (my name is excel2Xml). Everything is normal. If you see no correct answers on the Internet, you can search for the same problem, haha