Eclipse Tips : How To View Heap Status In Eclipse

eclipse-thumbnail

This example illustrates how to view the current status of heap in the JVM where eclipse application is running. Eclipse allocates the pre-defined heap memory for its own use. If the usage reaches the maximum level, the performance of your eclipse would be very slow. Whenever it reaches the maximum level, eclipse triggers the Garbage […]

Eclipse Tips : Type Filters in Eclipse

eclipse-thumbnail

This tutorial explains one of the cool feature in Eclipse, that is Type Filters to filter the suggestions listed as autocomplete for your object. If you type a class name with dot, Eclipse would suggest the list of methods in that class or object reference. Typically it retrieves all the methods from the super classes. […]

Eclipse Tips : Block Selection in Eclipse (ALT + SHIFT + A)

eclipse-thumbnail

There are several awesome features hidden in the Eclipse IDE which helps the programmers to do the coding more efficiently. One of the short cut is to block select the text and modify it easily. If you have multiple lines of text which are looking uniform and required similar changes for each line, then this […]

Eclipse Support for Java 8

eclipse-thumbnail

Eclipse officially announced that it supports the latest Java version Java 8 from the version Luna 4.4. However, this is not the stable version and it is in the developer downloads. If you are using the latest stable eclipse version 4.3.2, it is very simple to install the patch using the instructions provided in this […]

How To Get Eclipse Current Workspace Location

eclipse-thumbnail

One of the simple trick in Eclipse which many find difficult is to find the current path or location of the workspace. The confusion arises often when the developers are using the multiple workspaces and forget the current workspace used by the eclipse instance. Note that you can open multiple Eclipse instances with different worspaces. […]

How To Hide “Not Declare Static Final SerialVersionUID” Warning in Eclipse

eclipse-thumbnail

If you are working with eclipse and implementing the serializable interface to your own class, most likely that you would get the following error if you have not declared the serialVersionUID. The error is: The serializable class XXXX does not declare a static final serialVersionUID field of type long What is serialVersionUID? Write an object to file? What […]

JPA Annotations – @GeneratedValue, @SequenceGenerator and @TableGenerator

eclipse-thumbnail

We’ve already discussed a different kind of primary keys, either simple or composite primary keys have assigned an inline values in the executable applications that were made. by looking into @Id, @IdClass or @EmbeddedId examples you could see that. But what if we would have some generator to generate these primary values. This tutorial explains the ID […]

How To Set Tomcat JVM Heap Size in Eclipse?

eclipse1

If JVM head size for Tomcat is not enough, you would get the error java.lang.OutOfMemoryError. If you are using eclipse, it is easy to increase the available heap size by using the server configurations. Look at the below steps to configure the VM arguments passed to JVM for running the tomcat server. 1. Open Server […]

How To Resolve “Resource Is Out Of Sync With The Filesystem” Error in Eclipse?

eclipse1

The error in eclipse IDE Resource Is Out Of Sync With The File system happens many time when the resource is out of sync and may be updated by some other sources. We need refresh each time by default to load that files. There is settings in eclipse to permanently fix this problem. Look at […]

Update Eclipse Project Facets Using Settings File

eclipse1

In some cases you will not be able to change the eclipse project facets through dialog boxes. It would happen many times when you want to downgrade your versions of facets used by your eclipse project. For example, If your current project configuration is Dynamic Web Module 3.0, if you try to downgrade to 2.5, […]