DrJava: Cannot run code using JDK8.0

Siratim picture Siratim · Apr 11, 2014 · Viewed 15.3k times · Source

Anyone having trouble using jdk 8.0 ??

Well, I don't know why I am facing some disturbances. Not sure why , after compiling a javacode in 'drjava' while I try to run it , it says ... " Current document is out of sync with the Interactions Pane and should be recompiled! "

I tried changing the compiler from JDK 8.0 to Eclipse Compiler 0.A48 it showed the same message .. after frequently recompiling and clicking the run button rather than using the shortcut key (F2) it ran !!!! then I toogled the compiler back to JDK 8.0 it ran also .(also the shortcut worked ) .. But after few compilation of codes it started to show the same text ...

And the most irritating thing is now my drjava hangs while i try to change my compiler !!! I think I have to go back to JDK 7u51 .. but I am really curious why this thing just happening

Answer

user3042408 picture user3042408 · May 12, 2014

I'm getting errors when I try to run it with JDK 8 as well.

My temporary solution: download JRE (or JDK) 7 as a tar.gz, and DrJave as a jar. Unzip the JRE/JDK, and just run the jar with the v7 java

Works for now. I'm sure they'll get it sorted eventually, but meanwhile...