What's the difference between a System property and environment variable

前端 未结 2 1342
误落风尘
误落风尘 2020-12-01 04:22

I am not clear about this. When I run a java App or run an Applet in applet viewer, (in the IDE environment), System.getProperty(\"java.class.path\") gives me

2条回答
  •  醉话见心
    2020-12-01 05:08

    Environment variables are specific to the operating system. Properties are JVM only.

提交回复
热议问题