I’ve added org.eclipse.core.net and org.eclipse.ui.net to my RCP application. According to this comment, this should be enough to set the Java system properties. But in my case, the properties are only set after I open the Network connections preference page. The problem is that the org.eclipse.*.net plugins aren’t getting activated. Is there a more correct way to fix this than just loading a random class from these plugins?
I’ve added org.eclipse.core.net and org.eclipse.ui.net to my RCP application. According to this comment ,
Share
Do it like the Eclipse IDE does it.
See
org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.activateProxyService()in bundleorg.eclipse.ui.ide.application