简体   繁体   中英

Eclipse ClassPath variable pointing to Windows Environment variable

Is there a way to set an eclipse classpath variable to point to a windows environment variable? I tried the normal windows style command line evaluation

%MY_ENV%

But it doesn't work.

I believe the syntax is :

${env_var:MY_ENV} 

But you probably have to declare it in preferences (using the above syntax) :

Windws > Preferences > Java > Build Path > ClassPath Variables > New...

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