Eclipse getting crashed randomly on ubuntu

If your eclipse is getting crashed randomly and that too frequently look at the crash reported. This crash report will be placed in the directory from where you start the eclipse and search for /usr/lib/x86\_64-linux-gnu/gtk-2.0/modules/liboverlay-scrollbar.so. If find this string then this issues of overlay scrollbar library. This will be solved once you remove that library. Sometimes, you will not find crash report generated, even in that case it is most probably the issue of overlay scrollbar. [Read More]

Run eclipse on remote ubuntu 13.10 server using x11

To run eclipse from on remote ubuntu 13.10 server using x11 on local machine. Prerequisites: I am assuming JDK and Eclipse is already installed. In addition to that you need to install few libraries on remote server. Run the following command to install those libraries on remote server. $ sudo apt-get install libgtk2.0-0:i386 libxxf86vm1:i386 libsm6:i386 lib32stdc++6 libxtst6 Once above libraries are install open another terminal and connect remote server through ssh with -X option [Read More]

Install Eclipse Maven plugin and import maven project

With new versions of Eclipse old m2e plugins have become absolute now you need to install eclipse plugins from eclipse market place. Follow below steps to install m2e plugins along with required GWT plugins. I have tried below steps with Eclipse (Kepler) Install GWT eclipse plugin Help -> Eclipse Marketplace. Search with string GWT install Google Plugin for eclipse 4.3. Install maven plugin open Eclipse Marketplace and search for m2e-wtp look for Maven Integration for Eclipse WTP Juno (1. [Read More]

Set environment variable which is inherited inside eclipse workspace

Ubuntu : Set required environment variable inside /etc/environment and restart the machine. This will set environment variable which can be inherited inside eclipse workspace. Above method will set the environment variable for all the users. To set environment variable for individual user set the required variable inside <user home>/.profile file. While doing so please make sure you use export keyword before variable. Alterante option to use .bashrc to set those environment variable, here as well you need to prefix export keyword. [Read More]

Create Maven GWT project and setup eclipse project

Using Maven archetype you can very easily create the gwt project in Maven. Follow below steps to create the same. Assumption: You have latest version of maven installed (Tried the below steps with 3.0.3 version) mvn archetype:generate It will ask for archetype to use specify 258 (gwt-maven-plugin). Then it will ask for other details like any other archetype asks for, enter the required details. And it will create the given GWT project with the details you have entered with a sample application. [Read More]

Setup eclipse project from a Maven project

Note: Below steps will work for 2.x and later version’s of Maven project. Assumption: You know eclipse. Eclipse version details: I would recommend to use latest version of Eclipse (Helios was the latest version while writing this blog and steps are tried with the same). If you know how to install eclipse plugin then you can skip install steps and install following two plugins http://m2eclipse.sonatype.org/sites/m2e http://m2eclipse.sonatype.org/sites/m2e-extras Install maven eclipse plug-in for more details refer. [Read More]