Skip to content
Advertisement

Tag: eclipse

Eclipse – Show generated class files

How can I show the folder (bin) where my class files are placed after I build a project in eclipse? I want this directory to show up in the package explorer. Searched the forums, but can’t seem to find an answer Answer You can view the the bin folders in the Navigator (Window –> Show View —> Navigator), which is

Eclipse – passing VM parameter to every test in the project

I need to pass a VM parameter to every test that is run in the project. Setting this manually doesn’t seem to be the most convenient solution, so is there any possibility to pass the parameter to every test automatically. Thank you for help. Answer We change the JRE Configuration in Eclipse (Preferences>Java>Installed JREs). There you can set default VM

Auto code completion on Eclipse

I want Eclipse to automatically suggest to me all possible options, while I’m writing some variable/class name or keyword, like in Flash Develop or Visual Studio. Is it possible? If not, with which Java IDE can I get this? I’m specifically asking about a way to automatically get the same thing I get using CTRL + Space, while I’m typing.

Why is my Eclipse Java package being treated as a folder?

My Eclipse Java package is treated as a folder; can anyone suggest what’s wrong? Answer Worst case, you’ll have to delete the folder and recreate as a java package. Save the Java classes somewhere else in your Java project by refactoring Delete the folder and the underlying folder structure Create a Java package Move the Java classes back under the

How to set eclipse console locale/language

When developing web application with Eclipse (Helios) the tomcat output is being sent to the console. Ok, but the messages are being translated to my OS language. In fact, my Eclipse is in English, but the Tomcat output (logging) is being translated to Portuguese. Probably it’s a Tomcat configuration issue, but I can’t find where… How do I change this

Find all occurrences of a function in Eclipse

In Eclipse, how can I find all usages of a function in a Java app? What is the shortcut for that? I tried with Ctrl+H to search by method, but it return me all methods with the same name. Answer You can find a menu entry in the context menu, when right clicking on the function. You can also press

How can I add JAR files to the web-inf/lib folder in Eclipse?

I’m using Eclipse and I need to be able to add Java libraries (JAR files) into my web application’s WEB-INF/lib folder. How do I achieve this? Answer Add the jar file to your WEB-INF/lib folder. Right-click your project in Eclipse, and go to “Build Path > Configure Build Path” Add the “Web App Libraries” library This will ensure all WEB-INF/lib

Advertisement