清单1展示了在运行SimpleApp之前,如何在Windows命令窗口中临时设置CLASSPATH,以包含cs . jar和当前工作目录。
Listing 1 shows how to temporarily set CLASSPATH in a Windows command window to include derby.jar and the current working directory before running SimpleApp.
LiveRun会获得当前文本窗口中的所有代码,将其编译到一个临时目录中,然后运行它。
LiveRun will will pick up all the code in the current text window, compile it to a temporary location, then run it.
打开文本窗口,使用主目录作为当前目录。
Do so by opening a text window with your home directory as your current directory.
您的窗口应类似于清单2,当前目录现在是lpi103 - 7目录中新建的目录。
You window should look similar to Listing 2, and your current directory should now be the newly created lpi103-7 directory.
在窗口下,我如何运行在当前目录下的可执行文件(而不是一个具有相同名称的%path%)没有完整的路径?
In Windows cmd, how do I run an executable in the current directory (instead of one with the same name in %PATH%) without referring to the full path?
在窗口下,我如何运行在当前目录下的可执行文件(而不是一个具有相同名称的%path%)没有完整的路径?
In Windows cmd, how do I run an executable in the current directory (instead of one with the same name in %PATH%) without referring to the full path?
应用推荐