I recently downloaded drJava on my Macbook Air running version 10.11.6 OS X El Capitan and everything was working fine. I started having issues and was advised to delete the application and re install it. I did so and now every time I try to open the "drjava - beta jar. "file, it loads for a second then dissapears. A pop-up window appears and say "java jar. file could not launch, check console for possible error messgae"
I need drJava for to be able to hand in assignments for my classes.
I have Java JDK version 9
DrJava is not compatible with Java 9. You must download a Java 8 JDK. The
internals of Java 9 are drastically different than Java 8.
On Thu, Oct 12, 2017 at 2:11 PM, Brandon Kolaski bkolaski@users.sf.net
wrote:
I recently downloaed the Java JDK 8u152 version and I am still unable to open the .jar file
When you install a new JVM, the installer does not necessarily update the
"current" (default) JVM to the newly installed one. Type
java -version
in a terminal to determine which JVM is the default. If you had previously
installed another JDK (which contains an embedded JVM), then the default is
unlikely to be the version that you just installed ("1.8.0_152").
I just installed JDK 8u152 on my MacBook but it was effectively invisible
(and inaccessible) because the default JVM was still JDK 8u144. To change
he default JVM to build 152, I had to follow the instructions on
stackoverflow posting 21964709. You can locate this page by searching for
stackoverflow 21964709
in your browser. The first answer by Mark Hellewell worked well for me.
After I installed the JDK 8u152 and made it the default JVM on my machine,
I downloaded a new copy of the latest beta release of DrJava. As expected,
I had to perform the same "Privacy and Security" override (embedded in the
System Preferences app) that I described in an earlier posting. When first
you double-click on the drjava-<xxx>.jar flie, Mac OS X states that the app
is from an unidentified developer and refuses to open it. But when you
open the Privacy and Security window of the System Preferences app, there
is a button near the bottom of the window allowing you to run the DrJava
.jar file anyway. If you activate this button and try to open the DrJava
jar file again (by double-clicking it), Mac OS X asks for yet another
confirmation indicating you really want to do it. After you perform this
final confimation, the DrJava file will behave normally when it is
subsequently opened. If you execute the jar file from the command line
(using a terminal), no confirmation process is required.
On Wed, Oct 18, 2017 at 5:09 PM, Brandon Kolaski bkolaski@users.sf.net
wrote: