logoalt Hacker News

cogman10yesterday at 2:39 AM1 replyview on HN

Modern JVMs actually have a solution to the shell buffer problem :D

You can shove all those options into a file and instruct the JVM to load them up using `@`.

java @all-options.txt -jar my.jar


Replies

ivolimmenyesterday at 5:00 AM

An option you really need to use on Windows as it has a command option size of only 32Kb. Before you ask: yes I ran into it.