If I create a utility project and multiple dynamic web projects within Eclipse and set it up so that dynamic web projects depend on the utility project, I’m guessing that I will have to redeploy all …
Tag: eclipse
Eclipse release heap back to system
I’m using Eclipse 3.6 with latest Sun Java 6 on Linux (64 bit) with a larger number of large projects. In some special circumstances (SVN updates for example) Eclipse needs up to 1 GB heap. But most of the time it only needs 350 MB. When I enable the heap status panel then I see this most of the time:
@override annotation in JDK 1.6
I’m using JDK1.6. When I implement an interface and in the implementing class, if I give @override before my function names, Eclipse throws an compilation error. i.e. below code is wrong according to Eclipse. If I remove @Override annotation, then the code compiles fine. Does it mean that JDK1.6 does no…
Bringing unit testing to an existing project
I’m working on an existing Java EE project with various maven modules that are developed in Eclipse, bundled together and deployed on JBoss using Java 1.6. I have the opportunity to prepare any framework and document how unit testing should be brought to the project. Can you offer any advice on… J…
I don’t understand the purpose of the src folder and separate packages
I’ve been using Eclipse only for Python over the last few months, and I’d like to start using it for Java. However, according to the tutorials I’ve looked at, the proper way to organize your Java project is to create a package in the source folder named, for example, com.project, and have al…
Exporting Eclipse project with a reference to native library
I have an Eclipse project, that uses JMF, I found out I could skip the JMF installation process and still to use the CaptureDeviceManager of the JMF, and to receive the list of devices if I could point my project to the native lib of the JMF. I’ve managed to add the native lib to the IDE run/debug, but …
Eclipse copy/paste entire line keyboard shortcut
Anyone know the keyboard shortcut to copy/paste a line into a new line in Eclipse, without having to highlight the entire line? ctrl-alt-down turns my whole screen upside down (I’m on windows). Interestingly, that’s what’s specified in the windows->preferences. Answer Ctrl-Alt-Down: copie…
JDI Thread Evaluations has encountered a problem
I’m running Eclipse for Java. I created a DOM version of an XML file. Now I want to change an attribute of an element in the file. I called a method that called a method in the class that controls the DOM, and I got a dialog box saying “JDI Thread Evaluations has encountered a problem. Exception p…
Eclipse debugging “source not found”
I just started using Eclipse so go easy on me ;). But when trying to debug a JUnit test case I get a dialog that states the the source is not found when I get to this line in the code in my test method: I know I should probably go and try and download the source from somewhere, but
Syntax error on token “;”, { expected after this token
why is there syntax error on this line ( shown below ) Answer You forgot the entry point method declaration. Try adding: before the line where you got the error.