开发者

Use Eclipse classpath variables in Java code

开发者 https://www.devze.com 2023-03-26 19:23 出处:网络
Is it possible to use Eclipse\'s classpath vari开发者_如何学Goables within in Java code? I have several bin directories for multiple projects that are defined in classpath variables, and need to refer

Is it possible to use Eclipse's classpath vari开发者_如何学Goables within in Java code? I have several bin directories for multiple projects that are defined in classpath variables, and need to reference them multiple times within one of my projects.


Tying something unique to an IDE to your application code is not particularly good practice. Try instead to make use of system properties, environment variables or the -D arguments to the application.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号