The class files in drjava.jar are compatible with Java 7, but a prime feature of Java is backward compatibility (which was partially abandoned in Java 9 but that is not relevant to this discussion). The simplest way to run DrJava is from the command line. Open a terminal and cd (change working directory) to the directory (folder) containing the drjava jar file that you want to execute. Then type the command

java -jar drjava-xxx.jar

where xxx is the versioning suffix on you drjava jar file. If you rename your drjava jar file to drjava.jar to make the command line invocation really simple:

java -jar drjava.jar

On Linux, I typically run drjava this way since I don't trust the file opening application for my window manager (unity) to use the right command.