@pansen and @tbowmo fimaly i got arduino ide running on my rpi!!! i was trying this for about a weeks now.
thanks for the support.
Great!! it works thanks for the fast reply