*! version 1.0.0  06Feb2018
program define mylistjava

    version 15.1

    syntax varlist(numeric max=3) [if] [in]
    marksample touse

    display "Variables listed:  `varlist'"
    javacall myListJava myListJW `varlist' if `touse' `in',  jar(mylistjw.jar)

end