Please I really need your help. I need Dr Java for class and for the past week, have been unable to do anything. I use a Mac. It keeps showing me the java file couldn't be launched, check console for errors. I saw somewhere to input this command in terminal but this is what i got
java -jar drjava-beta-20160913-225446.jar
Error: Unable to access jarfile drjava-beta-20160913-225446.jar
I also got a couple of errors in console but don't know what to do. Please help
Hi Stella,
When you type the command
java -jar drjava-beta-20160913-225446.jar
the current working directory of your terminal must contain the file drjava-beta-20160913-225446.jar.
You either need to change your current directory (using the cd command) to the directory [folder] containing the jar file for drjava or you need to provide a relative path (from the current directory) to the jar file.
Apple has been hostile to open source Java apps (typically distributed as jar files), so I don't know if fixing this problem will get you to a working DrJava window. I gave up using Macs in 2006 and do not have any Macs in the laboratories that I can readily access. I will try running DrJava on the current version of Mac OS X as soon as I get the opportunity. BTW, the file that you are trying to use is an older version of DrJava. You may want to try the drjava.jar file available at
www.cs.rice.edu/~javaplt/drjavarice
It was built in March 2020.
Best,
Corky Cartwright