Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Universal java options ignored on Windows - cannot set javaOptions #688

Closed
Sciss opened this issue Nov 4, 2015 · 1 comment
Closed

Universal java options ignored on Windows - cannot set javaOptions #688

Sciss opened this issue Nov 4, 2015 · 1 comment
Labels
feature request universal Zip, tar.gz, tgz and bash issues windows

Comments

@Sciss
Copy link
Contributor

Sciss commented Nov 4, 2015

I have added an option for max heap space:

javaOptions in Universal += "-J-Xmx1024m"

This goes into conf/application.ini when packaging and is properly parsed on Linux and Mac from the bash script. On Windows, the .bat file is broken, though. Instead of trying to read this file, it looks for ./<APP-NAME>_config.txt which does not exist, resulting in an application launch with wrong heap settings.

It also seems that the format of the .ini file is not compatible. If I copy the application.ini file to <APP-NAME>_config.txt, the .bat file has this error:

Unrecognized option: -J-Xmx1024m
@Sciss Sciss added windows bug universal Zip, tar.gz, tgz and bash issues labels Nov 4, 2015
@muuki88
Copy link
Contributor

muuki88 commented Nov 5, 2015

I fear this is not implemented yet. Pull requests welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request universal Zip, tar.gz, tgz and bash issues windows
Projects
None yet
Development

No branches or pull requests

3 participants
@Sciss @muuki88 and others