samedi 21 juillet 2018

Cannot find packages related to JUnit when compiling test code

Trying to get JUnit working on my computer. I'm using windows but I have also installed git bash as well (don't know if that makes a difference).

Anyway I've followed this tutorial linked below:

https://www.tutorialspoint.com/junit/junit_environment_setup.htm

I'm trying to set the environment variables manually on windows but the instructions above aren't working for me.

https://imgur.com/a/NaqFiue

^Here is a photo of my user variables after making the changes in the tutorial. On the above tutorial it says to link the JDK to a variable called JAVA_HOME, and mine worked perfectly with Path as seen in the image but it did not work with JAVA_HOME.

I'm honestly so confused, lost and frustrated. Any help would be appreciated.

Aucun commentaire:

Enregistrer un commentaire