I would like to upgrade the JUnit version of my Eclipse Galileo (on windows) to JUnit 4.8.1 instead of the included JUnit 4.5. There does not appear to be a plugin update to use the new version or a way to change the location of the JUnit 4 jars. How can I update to the new version and/or use a JUnit jar not under the eclipse install directory?
Share
For plain java projects
You could add the junit.jar you want to use as a file in your project, add it to the build path, and remove the eclipse defined junit library from the build path (assuming it was there).
For plugin projects
You can do as above or, create a new plugin from the junit 4.8 jar and add it to your test plugin’s dependencies.