Hi,
I am trying to use -D option as my Java code does
System.getProperty("CNOTE_HOME").
 
        use Inline (Java  => 'STUDY',
                J2SDK => '$CNOTE_HOME/tools/java',
                STUDY => [],
                PORT => 4500,
                EXTRA_JAVA_ARGS => '-Xmx196m -DCNOTE_HOME=$CNOTE_HOME'
                );

With the above usage, -DCNOTE_HOME doesnot seem to work.\
 
I.e. inside the Java program, System.getProperty("CNOTE_HOME") yields
"null" when 
-Xmx196m is taking effect as expected.
 
Is that -D option will not work with EXTRA_JAVA_ARGS field ?

Please share with me any pointers/suggestions what is wrong here ?
 
Thanks,
Mahesh
 

Reply via email to