Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
DilipSonar
Contributor
Contributor

Pass JVM arguments in "Use specific JVM arguments" as variables in Adv

This query is studio specific only, as the implementation is simple in SH file.
What I am trying to achieve is, read env variables and pass it as JVM argument in ADVANCED settings.
like: -DLOG_DIR=%LOG_DIR%  -> is there any way I can do this in Studio?
Appreciate any input on this.
Labels (2)
4 Replies
Anonymous
Not applicable

Hi,
  In Talend Studio, you can click the Window menu, then select Preferences, under Preferences, expand the Talend node, and select  Run / Debug, which will apply for studio.
Is it what you are looking for?
Best regards
Sabrina
0683p000009MCQB.png
DilipSonar
Contributor
Contributor
Author

Hi sabrina, what I want is, instead of hardcoading JVM argument values, pass the value as parameter readng it from env properties.
Anonymous
Not applicable

Any updates on this, is it possible?  I want to use a context variable in the JVM so I can pass it to log4j, for example:  -DJOB_ID=context.j_job_id
Anonymous
Not applicable

Hi,
Could you please take a look at this document about:TalendHelpCenter: Setting JVM parameters for specific tasks to see if it is what you are looking for?
Best regards
Sabrina