Greetings,
In a shell script,I have setup JAVA_OPTS environment(to enable remote debuggin and increase memory) and then execute the jar file as follows:
export JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -Xms512m -Xmx512m"
java -jar analyse.jar $*
But it seems theres no effect of JAVA_OPTS env variable as I cannot connect to remote-debugging and I seem no change in memory for JVM.
What could be the problem?
PS : I cannot use those settings in the "java -jar analyse.jar $*" command because I process command line arguments in the application.