How can you speed up Eclipse?

The three most influential factors for Eclipse speed are: Using the latest version of Eclipse (2020-06 as on 26 June 2020) Note that David Balažic‘s comment (July 2014) contradicts that criteria which was working six years ago: The “same” workspace in Indigo (3.7.2) SR2 loads in 4 seconds, in Kepler SR2 (4.3.2) in 7 seconds … Read more

java.lang.IllegalArgumentException: The servlets named [X] and [Y] are both mapped to the url-pattern [/url] which is not permitted

Caused by: java.lang.IllegalArgumentException: The servlets named [ControllerServlet] and [com.classmgt.servlet.ControllerServlet] are both mapped to the url-pattern [/ControllerServlet] which is not permitted It seems that you have mixed @WebServlet annotation based and web.xml based configuration. I doubt that you created a Servlet using the “Create Servlet” wizard which creates web.xml entry with url-pattern and then , added … Read more

How to add JAR libraries to WAR project without facing java.lang.ClassNotFoundException? Classpath vs Build Path vs /WEB-INF/lib

The CLASSPATH environment variable is only used by the java.exe command and even then only when the command is invoked without any of the -cp, -classpath, -jar arguments. The CLASSPATH environment variable is ignored by IDEs like Eclipse, Netbeans and IDEA. See also java.lang.ClassNotFoundException in spite of using CLASSPATH environment variable. The Build Path is … Read more

How to install JDBC driver in Eclipse web project without facing java.lang.ClassNotFoundexception

As for every “3rd-party” library in flavor of a JAR file which is to be used by the webapp, just copy/drop the physical JAR file in webapp’s /WEB-INF/lib. It will then be available in webapp’s default classpath. Also, Eclipse is smart enough to notice that. No need to hassle with buildpath. However, make sure to … Read more

What are the best JVM settings for Eclipse? [closed]

It is that time of year again: “eclipse.ini take 3” the settings strike back! Eclipse Helios 3.6 and 3.6.x settings alt text http://www.eclipse.org/home/promotions/friends-helios/helios.png After settings for Eclipse Ganymede 3.4.x and Eclipse Galileo 3.5.x, here is an in-depth look at an “optimized” eclipse.ini settings file for Eclipse Helios 3.6.x: based on runtime options, and using the … Read more