In Eclipse, "Activation. main: Warning :... Carrier, unknown to the author)

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.