I need to change the order of two jar files in java build path of eclipse.
There is some operation on which the junit3.jar will be set before junit4.jar, but I am not able to find any clue.
I need to change the order of two jar files in java build path
Share
You can obtain the raw classpath for the project, then find each Junit entry based on its kind and path, if they’re in the “wrong order”, you can then modify the raw classpath and set the modified path on to the project.
The snippet below outlines how it can be done, note there’s no exception handling in this example: