Solution to “Error starting modern compiler”
April 21st, 2009
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.
Generating Class-Path in Jar Manifest with Ant
August 19th, 2007
I’ve recently started to touch Ant. Well, I’ve used it before, but only on the ant clean all
level. Now I wanted to write a small build script for a tiny project. Which went off easily enough with the help of Apache Ant User Manual. Well, until I wanted to deploy to a executable Jar file.
This didn’t look like it was easily done. Googling around I found that this had been answered before, by Dominique Devienne. I’ll summarize below:
Read the rest of this entry »



