Enviroment variables in eclipse ubuntu errors

I went through a lot to make cocos2d-x work on my machine. Most of the problems was wrong setting of environment variables. Well now I can launch projects, but i still don’t get some things.
Topic:
Once project is imported I have Classes folder unexpandable, cause it’s linked to wrong path pic 1.
So as I found out it’s necessary to set path in Project/Properties/Resources/LinkedResources . But as you can see. I had to change defauld COCOS2DX/…/… path to my actual path, because COCOS2DX isn’t working in spite of declaring COCOS2DX as environment variable in /.bashrc and etc/enviroment . So How do I declare the enviroment variable which eclipse can read?


Selection_001.png (27.2 KB)


Selection_003.png (80.6 KB)


Selection_004.png (81.9 KB)


Selection_005.png (35.6 KB)