简体   繁体   中英

In an Eclipse Run Configuration how to you refer to the username?

I've done this in the past, but can't remember how.

What I want to do is pass in my windows login id as a -D variable when running a java process in Eclipse. I know that you can refer to variables in Run Configurations, but can't see one associated with the login id.

使用环境变量,例如

${env_var:USERNAME}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM