FAQ & Troubelshooting

Installation

Build Process

OSGi/Kura/ESF


Installation

I am using Linux. I can’t install Reactive Blocks from the Eclipse marketplace

Reactive Blocks supports Windows and Mac OS X. Linux is not supported. The Eclipse marketplace does not allow installation on a non-supported platform. If you still want to install Reactive Blocks on Linux, use our update site.

Note that with Reactive Blocks you can still develop applications that run on Linux.

Which Eclipse package should I choose?

You can choose any of them. Our suggestion is the Eclipse IDE for Java Developers.

I have installed Reactive Blocks SDK and restarted my Eclipse. What should I do next?

Start by opening the Reactive Blocks perspective. You can also open the perspective from the Eclipse Welcome page as shown here.

You should see a website containing a video that shows how to build your first application.

I have problems installing Eclipse

See known issues related to Eclipse.

I have problems installing Reactive Blocks

See here.


Build Process

There are two Java SE build target platforms. Which one should I choose?

The choices are Java Standard Edition (Into Source Project) and Java Standard Edition - J2SE. The first option puts the generated code into the same project you are working on. The second option creates a new self-contained project, i.e., necessary Java code is copied into the project.

There are advantages and disadvantages in each option.

Putting the generated code into the source project means that if you change Java code of the building blocks you do not need to do rebuild. But exporting the source project as runnable jar can produce a large file. With the second option, the resulting runnable jar file is smaller, but you must rebuild when you change Java code of the building blocks.

We suggest you to choose Java Standard Edition (Into Source Project) when you are developing and debugging. If you need or want to produce a smaller file in the end, then choose Java Standard Edition - J2SE.

I get the “java.lang.reflect.InvocationTargetException” exception during the build process. How to fix it?

It seems you are trying to generate code into a project containing a Java application that is currently running.

You need to stop the running Java application first. Use the red stop button in the Console view.


OSGi/Kura/ESF

How to fix a “type cannot be resolved”? error

This is a sign of missing dependency. To resolve the error, see here.

I get the “org.osgi.framework.BundleException: Could not resolve module:?” exception. How to fix it?

This is a sign of a missing dependency at runtime problem.

If you are using the Reactive Blocks Kura or ESF features, see here. If you are using the Reactive Blocks OSGi feature, see here.

I have deployed my application bundle, but nothing happens. I don’t think my application is running.

Chances are there are missing bundles in your OSGi framework.

If you are using the Reactive Blocks Kura or ESF features, see here. If you are using the Reactive Blocks OSGi feature, see here.