Eclipse application id problem

From: Hans van Mourik (mourik_at_nospam.com)
Date: 08/20/04


Date: Fri, 20 Aug 2004 17:55:04 +0200

I have a problem getting Eclipse to work: The default setup complains
about having found no application id. And trying to set one doesn't work.

I'm using Eclipse 3.0 under Win2000 with java 1.4.2, and
I installed it in C:\eclipse .
When I try to set an application id in the config.ini, like
eclipse.application=org.eclipse.platform_3.0.0
or eclipse.application=org.eclipse.platform
I get results such as:

!SESSION Aug 20, 2004 16:45:16.343
---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!ENTRY org.eclipse.osgi Aug 20, 2004 16:45:16.343
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.platform_3.0.0"
could not be found in the registry. The applications available are: <NONE>.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:325)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at [...]

And with the default config.ini I get:

java.lang.RuntimeException: No application id has been found.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:313)
at [...]
----------------------------------------

Apparently Eclipse is looking in a registry such as:
C:\eclipse\configuration\org.eclipse.core.runtime\.registry.2
but it doesn't find any application id's there.
See method private void registerApplicationService() in
PlatformActivator.java in
C:\eclipse\plugins\org.eclipse.platform.source_3.0.0\src
\org.eclipse.core.runtime_3.0.0\runtimesrc.zip

Any help will be appreciated.

Thanks,
Hans van Mourik

--
To get my proper address, do s/nospam/pobox/