GP-6193: Environment variables can now be set in launch.properties using ENVVARS= or ENVVARS_[PLATFORM]=

This commit is contained in:
Ryan Kurtz
2025-12-12 11:00:56 -05:00
parent 529fc65639
commit 02567fd355
6 changed files with 85 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
# Getting Started with Ghidra
The information provided in this document is effective as of Ghidra 12.0 and is subject to change
The information provided in this document is effective as of Ghidra 12.1 and is subject to change
with future releases.
## Table of Contents
@@ -458,9 +458,10 @@ There are several ways you can get help with using Ghidra:
* GUI icons may not render correctly in some configurations of Linux. Setting
`VMARGS=-Dsun.java2d.opengl` to `true` in `<GhidraInstallDir>/support/launch.properties` may fix
this issue.
* Non-reparenting window managers such as Xmonad and Sway may render Ghidra windows as blank. This
is a known java issue (https://bugs.openjdk.org/browse/JDK-8058197) which can only be addressed
by setting the environment variable `_JAVA_AWT_WM_NONREPARENTING=1` prior to launching Ghidra.
* Non-reparenting window managers such as XMonad and Sway may render Ghidra windows as blank. This
is a known java issue (https://bugs.openjdk.org/browse/JDK-8058197) which can be addressed by
uncommenting `#ENVVARS_LINUX=_JAVA_AWT_WM_NONREPARENTING=1` in
`<GhidraInstallDir>/support/launch.properties`.
### macOS
* Building new Ghidra module extensions on macOS (OS X) using a network drive (including a