I recommend you to check the following guide: IoT - Data sharing between programming environments on Intel® Edison | Intel® Developer Zone. The guide explains how to share data between environments. You will also find an example that uses the Arduino environment and a Node.js script; however you could use Eclipse instead. Basically, the way to share data is through text files. You create and save data in a text file in one environment, and then, you open that file and read the data in the other environment. The guide is explained very well, I recommend you to check it.