File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse + JUNIT_HOME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse + JUNIT_HOME" Watch "Eclipse + JUNIT_HOME" New topic

Eclipse + JUNIT_HOME

Vladimir Bezugliy
Ranch Hand

Joined: Sep 29, 2004
Posts: 33
I created project with junit tests.
Eclipse added environment variable JUNIT_HOME.
But I do not want to use Eclipse's junit.
I have my own installation of JUnit.
I changed varaible JUNIT_HOME to dir with my JUnit.
Closed Eclipse.
When I opened Eclipse again I saw, that wariable again pointed to Eclipse's JUnit not to my directory.
How can I fix it?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

I'm not sure how well Eclipse handles the changing of built in variables. The easiest thing to do may be to create your own variable that points to something else.

If you don't want to do that, try deleting the variable altogether and creating a new one with the same name (possibly closing Eclipse in between.)

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
chris li

Joined: Jan 11, 2005
Posts: 1
Try this way, Project -> Properties -> Java Build Path -> in Libraries remove the old one you don't want and Add External JARs(Then one you need).
Wish it help
I agree. Here's the link:
subject: Eclipse + JUNIT_HOME
jQuery in Action, 3rd edition