File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse + JUNIT_HOME

 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Why?
How can I fix it?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vladimir,
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.)
 
chris li
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vladimir,
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic