Thanks for your answer! Because I want to use qualimap in my pipline, I hope that qualimap can not display the graphical interface and run the complete process directly in the background. Is there a solution for this?
I encountered this error during the use of qualimap:
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:22.0' as the value of the DISPLAY variable.
I found the relevant solution on the official website of qualimap, but I don't know how to implement it.
Qualimap is a binary file with no parameters to receive java configuration during execution.
Qualimap.jar cannot be started using "java -jar qualimap.jar".
Can someone help me to look at it?
1 answer
use a X11-aware terminal. For example, if you're connecting to a server using ssh, use the '-X' option. https://unix.stackexchange.com/questions/12755
Additionally it’s possible to use a special option of Java -Djava.awt.headless=true to disable display requirement.
Enabling this option can be performed by setting JAVA_OPTS variable in system or by changing java_options variable in the qualimap script:
java_options="-Djava.awt.headless=true -Xmx$JAVA_MEM_SIZE -XX:MaxPermSize=1024m"
Log in to answer this question.