[docs] Enable AWT headless mode in Java guide (#6155)

Fixes https://github.com/google/oss-fuzz/pull/6105#issuecomment-887950308.
This commit is contained in:
Fabian Meumertzheim 2021-08-04 11:18:09 +02:00 committed by GitHub
parent 0bf87a10c4
commit 4f34600051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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