Using environment variables

Is there any way I can use environment variables as part of the path names for classpath entries. For example if I install the JWSDP (Java Web Services Developers Pack) it sets the JWSDP_HOME env variable. I'd like to be able to use that in Idea so that the classpath would be something like

%JWSDP_HOME%\jaxb\lib\jaxb-api.jar;...

Can I do this or are there any plans to let me do this?

Thanks,

1 comment
Comment actions Permalink

You should be able to do something similar to this from Settings->Path Variables. I know that you will not be able to extract it from the OS, but you can define them all in one place and use them within IntelliJ.

0

Please sign in to leave a comment.