[fedora-java] Still newbie: compiler crash, walk-arounds?

Mikolaj Izdebski mizdebsk at redhat.com
Fri Feb 20 18:02:17 UTC 2015


On 02/20/2015 06:50 PM, Alec Leamas wrote:
> Greetings,
> 
> Thanks for help  with last package. Trying a new one, get an interesting
> compiler crash (yes, the bug is filed since long).

What crash and which bug?

> The question: is there any sane way to use another version of javac than
> 1.8.0 to walk-around this until compiler upstream do their homework?

Are you using Maven? If yes then you can use Eclipse compiler; it's
documented here:
http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html

If not using Maven then you can call /usr/bin/ecj command directly.

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk


More information about the java-devel mailing list