要想从命令行接口引用给定的 DB2 实例,应该使用环境变量 DB2INSTANCE。
To reference a given DB2 instance from a command line interface, use the environment variable DB2INSTANCE.
如果使用了- jar选项,那么环境变量CLASSPATH和在命令行中指定的所有类路径都被j VM所忽略。
The environment variable CLASSPATH and any class path specified on the command line is ignored by the JVM if the -jar option is used.
因此,一个变量只有在没有在任何makefile或命令行中指定时,才会使用环境变量的设置注意:父进程makefile变量有时候会传递下来,但不总会这样。
Thus, environment variables are used only if a variable is not set in any makefile or on the command line. Note: parent makefile variables are sometimes, but not always, passed down.
应用推荐