I have problem to start Eclipse installer. I installed latest java version.
java version "1.8.0_144"
Java™ SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot™ Client VM (build 25.144-b01, mixed mode)
When I try to start the installer I get
./eclipse-inst: 2: ./eclipse-inst: Syntax error: newline unexpected (expecting “)”)
Please give me some advice.
A RPi is probably not going to be powerful enough for you to run Eclipse on it and get any sort of performance necessary to make it worth while. The devs don’t even recommend running Designer on a Pi which is a vastly stripped down version of Eclipse. A quick google search reveals:
Thanks for that I have installed it and it is very slow to load or do anything with it.
I was not precise. I want to install Eclipse SmartHome on RPi 2 to implement add-ons to openHAB 2.
As I understand, it is better to run Eclipse on PC and send files to RPi?
Is there any tutorial how to work in this way?
Correct, or just run it on your PC. The only reason you need to test it on the RPi is if you want to make sure it performs well or it uses some RPi specific hardware.
Not that I know of but I think all you need to do is compile your binding into a jar file, copy the jar to the RPi and then drop the jar file into the addons folder. OH will pick it up and install it from there.