what do I have to install?
I am trying to use a java application in ubuntu, but I am getting errors when I try to compile it. The app is trying to import from these libraries in the beginning:
Java doesn't recognize this. Do I have to install these libraries? How do I install?
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
Re: what do I have to install?
Of course you have to install external 3rd party libraries. Were you expecting it to work by magic? You need to download the jar files and place them on your computer somewhere. Then you have to update the OS so it knows where to find them. I'm not sure how to do this on Ubuntu but google should provide some links. If you are using an IDE then consult it's Help functionality.