classpath信息详情

classpath发音

意思翻译

n.类路径(一个环境变量)

相似词语短语

referenced by the classpath───由类路径引用

双语使用场景

This is the role of the classpath.───这正是类路径的作用所在。

Restart the server to update the classpath.───重新启动服务器来更新类路径。

These directories are added to the classpath.───这些目录被添加到类路径。

Consequently, the classpath has been a thorn in the side of both new users and experienced Java programmers for years.───这样一来,不论是新用户还是资深Java程序员都深感类路径的棘手。

CXF checks for a configuration file in the classpath on startup and, if it finds the file, uses it to set property values.───CXF在启动时在类路径中寻找配置文件,如果找到了,就用它设置属性值。

You might have to adapt the classpath (second command) if you installed the parser in a different directory.───如果在另一个目录下安装语法分析器,则可能必须修改classpath(第二条命令)。

This approach makes it a bit easier to get started because there's no need to muck around with the classpath.───这种方法使得开始了解StatCVS变得更容易,因为不需要关于类路径的更多知识。

TB Activiti can be embedded in any Java application. To Java developers, it's just a . jar that they have to put in their CLASSPATH.───TomBaeyens:Activiti可以嵌入到任何Java应用中,对于Java开发者来说,Activiti只不过是个jar文件而已,只需放到CLASSPATH下即可。

In closing, let me share with you my cheat sheet, the Ant setup I use to make all my classpath and JAXB samples easy.───最后让我们来分享我的一个秘技,用于轻松制作classpath和JAXB示例的Ant设置。

英语使用场景

Unlike putting directories in jre/lib/ext or the CLASSPATH environment variable, Ant really does let you create one-step build processes.

This approach makes it a bit easier to get started because there's no need to muck around with the classpath.

Changing the parser -- say, to Oracle's parser -- requires that you change a classpath setting, moving from one parser implementation to another, but it does not require code recompilation.

Moreover, it deliberately ignores any environment variable settings for CLASSPATH or the command-line argument -cp that you supply.

For good measure, this example also removes the compressed application file and clears the value of your shell's CLASSPATH environment variable.

First, you provide a classpath to the wsgen command using the –cp argument.

This command sets the classpath to point to the Infocenter JAR file, tells it where Eclipse is installed, sets the port number, and issues the start command.

Because the classpath of cl1 is regarded as a directory, that class loader is able to find class Z in that location and is able to load it.

It saves you the hassle of dealing with classpath issues over and over again, as well as remembering specific command-line options.