• Register
0 votes
2.4k 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

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
0 answers 15 views
15 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 Raphael Pacheco 4.9k points
0 votes
1 answer 131 views
0 votes
1 answer 7 views
7 views
I need to know how to remove the first cgaracter of a string in Java.
asked Sep 25 Daniel Anderson 4k points