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
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.instantiations.installer.launcher.Main.launchInstaller(
at com.instantiations.installer.launcher.Main.launch(
at com.instantiations.installer.launcher.Main.launch(
at com.instantiations.installer.launcher.Main.main(
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/graphics/Device
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.instantiations.installer.core.InstallerFactory.createInstaller(
at com.instantiations.rcpdev.installer.RCPDeveloperInstaller.main(
... 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 ''. Open that file and you'll see something like:

  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:

  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 :-)