Skip to main content

Install Instantiations RCP Developer on Linux

Posted by dcengija on April 5, 2006 at 4:21 AM PDT

Instantiations anounced RCP Developer as a product which will accelerate your Eclipse-RCP based application development. Free trial is available. Unfortunatelly, if you try to install it on Linux, even if 'installer for any platform' is available, it fails with the following message:


davor@linux:~/memtmp> java -jar ~/download/java/eclipse/RCPDeveloper_v1.0.0.jar
warning: No platform-specific attributes present
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.instantiations.installer.launcher.Main.launchInstaller(Main.java:180)
at com.instantiations.installer.launcher.Main.launch(Main.java:171)
at com.instantiations.installer.launcher.Main.launch(Main.java:137)
at com.instantiations.installer.launcher.Main.main(Main.java:209)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/graphics/Device
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.instantiations.installer.core.InstallerFactory.createInstaller(InstallerFactory.java:40)
at com.instantiations.eclipse.shared.installer.BaseProductInstaller.run(BaseProductInstaller.java:73)
at com.instantiations.rcpdev.installer.RCPDeveloperInstaller.main(RCPDeveloperInstaller.java:30)
... 8 more

Obviously, some platform-specific code is missing.

But if you have a dual-boot box, you might try the following trick in order to run RCP Developer on Linux:

  1. Boot to Windows and install RCP Developer. It will find your Eclipse installation etc. Simply follow the instructions. Try it to see if it works
  2. Now boot to Linux. Mount Windows partition where Eclipse and RCP Developer are installed, e.g. to /windows/D. Now locate Eclipse installation dir and look for a folder called 'links' where you should have a file called 'com.instantiations.rcpdev.link'. Open that file and you'll see something like:

    path=d:/devel/Instantiations/RCPDeveloper_v1.0.0/E-3.1
  3. Now copy the entire 'links' directory to your Eclipse installation dir on Linux. Edit the above mentioned file to point to the same RCP Developer installation on windows partition, but now with Linux path. It should look something like this:

    path=/windows/D/devel/Instantiations/RCPDeveloper_v1.0.0/E-3.1
  4. Start Eclipse and create e.g. New RCP application project: press CTRL+N and in the dialog window scroll down until you see RCP folder.

And that's it. It is probably possible to copy the RCP Developer installation dir from Windows partition to Linux, but let that be a little exercise for you :-)