Altera_Forum
Honored Contributor
8 years agoCompiler error: Could not initialize class sun.awt.X11.XToolkit
Dear all,
I'm trying to compile kernels, but sometimes the compiler gives an "Error: Qsys-script FAILED" error. In <kernelname/kernelname.log>: there are several error messages: Error: add_instance clk_1x altera_clock_bridge : Can't connect to X11 window server using 'localhost:11.0' as the value of the DISPLAY variable. add_instance clk_2x altera_clock_bridge : Could not initialize class sun.awt.X11.XToolkit ... (more errors complaining about sun.awt.X11.XToolkit) Error: save_system kernel_system.qsys: Could not initialize class sun.awt.X11.XToolkit The compiler parameters were: aoc --fp-relaxed --fpc --report --profile <kernel.cl> It is expected that it cannot open a window (it is running in a "screen"), but I do not want it to. How do I prevent this error? Currently my guess is to unset the display variable. As I do not know what triggers this error, and compiling takes pretty long, I do not currently know if this works. Ideas welcome! Thanks in advance!