From 4f34600051a826687aded035108a5795a8949b40 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Wed, 4 Aug 2021 11:18:09 +0200 Subject: [PATCH] [docs] Enable AWT headless mode in Java guide (#6155) Fixes https://github.com/google/oss-fuzz/pull/6105#issuecomment-887950308. --- docs/getting-started/new-project-guide/jvm_lang.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/new-project-guide/jvm_lang.md b/docs/getting-started/new-project-guide/jvm_lang.md index 74130cb62..fc48ade6b 100644 --- a/docs/getting-started/new-project-guide/jvm_lang.md +++ b/docs/getting-started/new-project-guide/jvm_lang.md @@ -136,7 +136,7 @@ LD_LIBRARY_PATH=\"$JVM_LD_LIBRARY_PATH\":\$this_dir \ \$this_dir/jazzer_driver --agent_path=\$this_dir/jazzer_agent_deploy.jar \ --cp=$RUNTIME_CLASSPATH \ --target_class=$fuzzer_basename \ ---jvm_args=\"-Xmx2048m\" \ +--jvm_args=\"-Xmx2048m;-Djava.awt.headless=true\" \ \$@" > $OUT/$fuzzer_basename chmod +x $OUT/$fuzzer_basename done