Last Updated: 2017-07-12 Wed 14:17

DrJava Modifications for GMU Students

Download

  • drjava-gmu.jar (13MB)
  • compiled with JDK 1.8
  • Latest Update: Wed Jul 12 14:16:22 EDT 2017

Overview

This is an unofficial version of DrJava which has been modified from the source code of the Rice University GIT repository here: https://github.com/DrJavaAtRice/drjava

It fixes a few minor problems noticed by George Mason University CS 211 and 310 students over the course of the last year. GMU students are encouraged to use this version as it will make unit test error reports easier to read and enable the java debugger to be used through DrJava.

Use

Windows

On most recent windows systems one can "run" a jar file just by double clicking on it. Download the drjava.jar file to a convenient location and double click to start DrJava running.

Windows Command Line

Ensure that a Java 1.8 runtime is installed on your system by opening a command prompt (cmd.exe) and running the command

java -version

You should see a version string like 1.8.0_31 which denotes compatibility. Versions like 1.7.0_85 will likely not work.

windows-cmd.png

Change to the directory where drjava.jar resides and run the command

java -jar drjava.jar

to start DrJava.

Mac

On most recent Mac systems one can "run" a jar file just by double clicking on it. Download the drjava.jar file to a convenient location and double click to start DrJava running.

To run from the command line, follow the unix instructions below.

Unix and Linux

Change to the directory where drjava.jar resides and run the command

java -jar drjava.jar

to start DrJava.

Summary of changes

Wed Jul 12 14:16:32 EDT 2017

Fixed minor bug in debugger which caused nullpointer exceptions when certain stack variables were initialized to null.

Thu Jun 1 16:20:06 EDT 2017

  • Interactions pane error fixed: problem is with class auto-loading on a misspelled class name. The auto-loading dialog has been disabled.
  • Integrated a modern JUnit 4.12 into DrJava which should enable features such as @Rule to be accepted.

Wed Feb 22 10:59:20 EST 2017

Reverting to an earlier version to avoid freezing DrJava when an unknown class is mentioned in the interactions pane.

Mon Jan 16 14:55 EST 2017

  • Integrated improvements and changes from the official DrJava Git repo here: https://github.com/DrJavaAtRice/drjava
  • Compiler and debugger appear to work out of the box from the Git version but we have integrated our other changes into the code base
  • Some progress on instanceof behavior in interactions pane but have not yet integrated this into release yet.

Fri Sep 25 13:45:44 EDT 2015

  • Added options to change the color of passed/failed JUnit tests. Color options can be set in
    Edit -> Preferences -> Display Options -> Colors
    

Fri Aug 28 13:12:11 EDT 2015

  • Updates to JUnit test run output to include test names along with error locations to improve readability of results
  • Minor fix of switch statement to ensure that Debugger menu appears in main DrJava window when Java 8 is in use. Tested and functional on Windows 8.1 with JDK 1.8, Mac OS X 10.10 Yosemite with JDK 1.8, Linux with Open JDK 1.8.
  • Added command line argument -log-all to enable logging to be turned on at run time; changed Log file ENABLE_ALL from final variable to allow this.

Work in Progress

  • Program installer for Windows and Mac Platforms; particularly double click .java files to open in DrJava
  • Stop Mac OS X from opening DrJava in a minimized window
  • Update interactive loop to handle Java 1.8 syntax for binary literals and a few other features
  • Improve recognition of screen resolution for new 4K screens and set fonts to appropriate sizes

Author: Chris Kauffman, Hernan Ariascu, Duc-Anh Duong (kauffman@cs.gmu.edu, hariascu@masonlive.gmu.edu, dduong5@masonlive.gmu.edu)
Date: 2017-07-12 Wed 14:17