I have Eclipse CDT Luna service release 2 installed on Ubuntu 15.10. I have installed WTP, developed a dynamic web project and tested it with tomcat 8.
There are other projects related to this project that need to be run as root. When I open eclipse using sudo, I can't see Java EE perspective (I have enabled GUI root login as well and the problem exists there too).
After googling enough number of hours, I went ahead and installed WTP on eclipse again as root. But, I can't see Java EE perspective when I select Window->Open Perspective->Other..! I restarted eclipse not with the root privilege and it popped up a window telling I need to update those plugins again. When I clicked No and checked for Java EE perspective it was missing. I restarted eclipse again, updated after the same pop up.
Now, I am back to square one! It's visible when eclipse is not run as root but invisible otherwise.