Unset _JAVA_OPTIONS environment variable

This environment variable may override the default Java arguments used by the launcher, which can lead to negative effects (such as too small amount memory allocated).

The recommended way to change the default Java arguments is through the launcher settings.
This commit is contained in:
Kron4ek 2020-07-03 23:29:39 +05:00 committed by GitHub
parent 67f82d476d
commit 5a94e0a7a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,8 @@ asyncDownload = ReadPreferenceInteger("AsyncDownload", asyncDownloadDefault)
DeleteFile(tempDirectory + "vlauncher_download_list.txt")
RemoveEnvironmentVariable("_JAVA_OPTIONS")
windowWidth = 250
windowHeight = 250

View File

@ -72,6 +72,8 @@ asyncDownload = ReadPreferenceInteger("AsyncDownload", asyncDownloadDefault)
DeleteFile(tempDirectory + "vlauncher_download_list.txt")
RemoveEnvironmentVariable("_JAVA_OPTIONS")
windowWidth = 250
windowHeight = 250