Running java with JAVA_OPTS env variable has no effect

前端 未结 2 1716
野性不改
野性不改 2020-11-29 01:46

In a shell script, I have set the JAVA_OPTS environment variable (to enable remote debugging and increase memory), and then I execute the jar file as follows:



        
2条回答
  •  遥遥无期
    2020-11-29 02:20

    You can setup _JAVA_OPTIONS instead of JAVA_OPTS. This should work without $_JAVA_OPTIONS.

提交回复
热议问题