# Wednesday, 12 February 2003
« Finally back | Main | Mauve »
Getting Eclipse to run

In the comments of the previous item John asked for specific instructions to get Eclipse running.

  1. Download the most recent IKVM binaries (I just updated them).
  2. Download Eclipse. I use build M3.
  3. Unzip both zip files. Here I will assume that both are unzipped in the root of C:\ (the ikvm zip creates an ikvm directory and all the Eclipse files end up in an eclipse directory)
  4. Download eclipse.bat, save it in the eclipse directory.
  5. Open a Command Prompt window and cd into the eclipse directory and run eclipse.bat

This should do the trick. If you have any problems, please let me know.

 

Wednesday, 12 February 2003 18:19:47 (W. Europe Standard Time, UTC+01:00)  #    Comments [5]
Friday, 30 April 2004 15:17:07 (W. Europe Daylight Time, UTC+02:00)
Sorry, eclipse.bat not found!
Saturday, 29 May 2004 23:32:17 (W. Europe Daylight Time, UTC+02:00)
Hi,
I've just tried to launch Eclipse3M9 with latest release of ikvm on WINXP with latest dotNet framework without success. Have you a means to make eclipse running with this version?
Best regards
Xavier

Here is the log :
eclipse.buildId=I200405211200
java.version=1.4
java.vendor=Jeroen Frijters
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
!ENTRY System Bundle 0 0 May 29, 2004 19:15:48.703
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (Unknown Source)
at java.lang.ExceptionHelper.MapException (Unknown Source)
at java.lang.ExceptionHelper.MapExceptionFast (Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch (Unknown Source)
at org.eclipse.osgi.framework.internal.core.SystemBundle.resume (Unknown Source)
at org.eclipse.osgi.framework.internal.core.Framework.launch (Unknown Source)
at org.eclipse.osgi.framework.internal.core.OSGi.launch (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (Unknown Source)
at cli.NativeCode.java.lang.reflect.Method.Invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.eclipse.core.launcher.Main.basicRun (Unknown Source)
at org.eclipse.core.launcher.Main.run (Unknown Source)
at org.eclipse.core.launcher.Main.main (Unknown Source)
at cli.NativeCode.java.lang.reflect.Method.Invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at cli.Starter.Main (Unknown Source)
Caused by: java.lang.NullPointerException
at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openConnection (Unknown Source)
at java.net.URL.openStream (Unknown Source)
at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBundle (Unknown Source)
at java.lang.ExceptionHelper.MapException (Unknown Source)
at java.lang.ExceptionHelper.MapExceptionFast (Unknown Source)
at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBundle (Unknown Source)
at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getHeaders (Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders (Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders (Unknown Source)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.register (Unknown Source)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start (Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run (Unknown Source)
at java.security.AccessController.doPrivileged (Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (Unknown Source)
... 18 more
Root exception:
java.lang.NullPointerException
at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openConnection (Unknown Source)
at java.net.URL.openStream (Unknown Source)
at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBundle (Unknown Source)
at java.lang.ExceptionHelper.MapException (Unknown Source)
at java.lang.ExceptionHelper.MapExceptionFast (Unknown Source)
at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBundle (Unknown Source)
at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getHeaders (Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders (Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders (Unknown Source)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.register (Unknown Source)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start (Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run (Unknown Source)
at java.security.AccessController.doPrivileged (Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch (Unknown Source)
at org.eclipse.osgi.framework.internal.core.SystemBundle.resume (Unknown Source)
at org.eclipse.osgi.framework.internal.core.Framework.launch (Unknown Source)
at org.eclipse.osgi.framework.internal.core.OSGi.launch (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (Unknown Source)
at cli.NativeCode.java.lang.reflect.Method.Invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.eclipse.core.launcher.Main.basicRun (Unknown Source)
at org.eclipse.core.launcher.Main.run (Unknown Source)
at org.eclipse.core.launcher.Main.main (Unknown Source)
at cli.NativeCode.java.lang.reflect.Method.Invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at cli.Starter.Main (Unknown Source)
!ENTRY org.eclipse.osgi May 29, 2004 19:15:48.824
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (Unknown Source)
at java.lang.ExceptionHelper.MapException (Unknown Source)
at java.lang.ExceptionHelper.MapExceptionFast (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel (Unknown Source)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch (Unknown Source)
at org.eclipse.osgi.framework.internal.core.SystemBundle.resume (Unknown Source)
at org.eclipse.osgi.framework.internal.core.Framework.launch (Unknown Source)
at org.eclipse.osgi.framework.internal.core.OSGi.launch (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (Unknown Source)
at cli.NativeCode.java.lang.reflect.Method.Invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at org.eclipse.core.launcher.Main.basicRun (Unknown Source)
at org.eclipse.core.launcher.Main.run (Unknown Source)
at org.eclipse.core.launcher.Main.main (Unknown Source)
at cli.NativeCode.java.lang.reflect.Method.Invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at cli.Starter.Main (Unknown Source)
Xavier
Wednesday, 01 September 2004 14:22:06 (W. Europe Daylight Time, UTC+02:00)
Hello

When i ry to unzip I get prompted for a password? What is the password?
Tuesday, 04 January 2005 02:39:51 (W. Europe Standard Time, UTC+01:00)
Jeroen,

First of all, great job in pulling this initiative together! I would try to contribute however I could! If not anything I would at least test various things out from time to time! :-)

Can you tell me the latest versions of compatible Eclipse/.NET framework/JDK etc. that you might have validated to run Eclipse with ikvm?

And just as a sidebar, did you ever get a chance to check the compatibility of other tools (ex: Spring, Hibernate, Groovy etc.)?

If you did not just let me know the compatible versions of Eclipse/.NET framework/JDK (so that I dont need to go through the trial and error of checking all combinations) :-), and I will try and check some of those other things out.. and maybe put some documentation together along the way!

Let me know! (You can respond here or drop me a line at either krdotnet.blogspot.com or krjava.blogspot.com).

Once again.. great job! Keep it up!
Tuesday, 04 January 2005 09:36:13 (W. Europe Standard Time, UTC+01:00)
Requirements to run Eclipse (note that many things in Eclipse still don't work correctly, but you should be able to start it up):

- .NET Framework 1.1 or Mono 1.0 (on Linux, Mono on Windows doesn't work with Eclipse)

- Eclipse 3.0 (release)

Here's how you start Eclipse with the most recent IKVM development snapshot:

eclipse -vm c:\ikvm\bin\ikvm.exe
Name
E-mail
Home page

I apologize for the lameness of this, but the comment spam was driving me nuts. In order to be able to post a comment, you need to answer a simple question. Hopefully this question is easy enough not to annoy serious commenters, but hard enough to keep the spammers away.

Anti-Spam Question: What method on java.lang.System returns an object's original hashcode (i.e. the one that would be returned by java.lang.Object.hashCode() if it wasn't overridden)? (case is significant)

Answer:  
Comment (HTML not allowed)  

Live Comment Preview