Solution to “Error starting modern compiler”
Right. So then I had the chance to open a old project in in eclipse today. From an old workspace. Tests still ran, code looked just as bad as badass as before.
Running the clean-build target through ant produced a message I haven’t seen before, though.
C:\Users\tormod.haugen\workspace\PROJECT\build.xml:38: Error starting modern compiler
Luckily Google was just a browser away, and I discovered through pitr’s blog that I needed to update the JVM used by Eclipse to the same as pointed at by JAVA_HOME.
I guess there can be more to it, and I guess you could override JAVA_HOME for that build, but this worked. Thanks.
About this entry
- Published by: Tormod Haugen
- Published at: April 21, 2009 - 10:39 CET
- Category: Java
- Tags: ant, classpath, eclipse, error, Java, modern compiler
Related Posts:
- I'd love some feedback on this entry; feel free to write a piece in the comments. Did you find this interesting? Informative? Confusing? Lacking information, references or sense? I'd like to improve, feedback would help me immensely!
Just try to smile for about 2-3 mins then you can get back to work
January 5th, 2010 at 13:26