• Register
0 votes
3.3k views

Problem :

Does anyone having trouble using the jdk 8.0 ??

I don't know why I am facing some of the disturbances. Not sure why but after compiling the javacode in 'drjava' while I was trying to run it is giving me below error.

Current document is out of sync with the Interactions Pane and should be recompiled! "

I tried to change my compiler from JDK 8.0 to the Eclipse Compiler 0.A48 it showed me the same message . but after frequently recompiling the code and clicking the run button rather than using the shortcut key (F2) it finally ran !!!! Then I changed my compiler back to JDK 8.0 and to my surprise it also ran. But after few compilation of my codes it started to show me  the same error message.

And the most irritating part is now my drjava is hanging while i was trying to change my compiler back !!! I guess I have to go back to my JDK 7.

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I am running the DrJava on JDK 8 and I have also faced the same issue when I ran my DrJava Windows App. But now I run DrJava jar file instead of the windows app.

Just compile your code again (shift + F5) and run (keyboard - F2). Unlike Eclipse and other sophisticated IDEs, DrJava requires you to compile all modified code before you run it.

9 7 4
38,600 points

Related questions

0 votes
1 answer 22 views
22 views
Problem: Does anyone having the same trouble : Current document is out of sync with the interactions pane and should be recompiled!.
asked Mar 6 Wafa Abu Yousef 6.1k points
1 vote
1 answer 3 views
3 views
Problem: I am working on wordpress and getting this error. Mysql is marked as crashed and should be repaired.
asked Mar 25 PkGuy 13.1k points
0 votes
0 answers 91 views
91 views
Problem: Whenever I try to compile my android project in the eclipse 3.4.2 then I am facing below error The project cannot be built until the build path errors are resolved. I found a very temporary solution from online material. The solution is to force the ... the project) Then the error(s) will go away Kindly remove the dummy library Is there any permanent fix for my above android issue?
asked Jun 22, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 77 views
0 votes
1 answer 3 views
3 views
Problem: Hi, any idea that what should I do to fix it .. The runtimeexception class is the ancestor class of all exceptions.
asked Apr 3 Ifra 24.4k points
0 votes
1 answer 13 views
13 views
I need to know how to remove the first cgaracter of a string in Java.
asked Sep 25, 2020 Daniel Anderson 4k points
0 votes
1 answer 3 views
3 views
Problem: I Need to find sum of respective diagonal elements using java 8 streams. I know to do this by looping array. Can this do using Java 8 stream? If yes, how?
asked Mar 22 ummesalma 24.5k points