Note that while developing this article, as we switched between versions of IRAD we experienced some class path issues due to differences between the products.
请注意本文的撰写过程中,由于产品之间的差异,所以在IRAD的不同版本之间变换时我们遇到了一些类路径的问题。
First, make sure that your class path is set up as indicated in Installation and setup.
首先,确保您的类路径如安装与设置中指示的那样设置。
This displays a panel for entering class path information that can be used to locate the exit library.
这将显示一个面板,用于输入可以用来定位出口库的类路径信息。
You have to put all those dependent JAR files and property files into the class path manually.
必须手动将所有这些依赖JAR文件和属性文件放入类路径中。
This may seem obvious, but you wouldn't believe the questions I get that relate to lack of compilation, or class path issues (also covered, a little later).
这似乎是显而易见的事,但是您恐怕难以相信那些因缺乏编译而造成的问题,或者类路径问题(稍后还会提到)。
To run an application stored in a non-executable JAR, you have to add it to your class path and invoke the application's main class by name.
要运行存储在非可执行的JAR中的应用程序,必须将它加入到您的类路径中,并用名字调用应用程序的主类。
With J2SE 1.3, this can be done just by including the appropriate JAR file in the user class path.
使用J2SE 1.3,只要在用户类路径中包含合适的JAR文件就可以解决该问题。
Make sure you've got all of this in your class path, and you're ready to do a quick test.
请确保将所有这些文件都放到了类路径中,接下来将做一个快速测试。
In J2SE 1.4, the standard versions of these APIs are now in the extensions class path, so these will normally override any implementations present in the user class path.
在J2SE 1.4中,这些API的标准版现在位于扩展的类路径中,所以它们通常将覆盖用户类路径中出现的任何实现。
In this case, at compile time the imported classes were present, but at run time the imported class was not part of the class path.
本例中,在编译时显示了所导入的类,但在运行时,所导入的类没有包含在类路径中。
JAR bundles are resolved through a class path environment variable, which doesn't provide a robust framework to manage JAR dependencies.
jar包通过类路径环境变量解析,而这并未提供管理JAR依赖关系的可靠框架。
This means that the module references and class path of the project that's found are also searched.
这意味着也会搜索所找到的项目的模块引用和类路径。
The implementation class name and class path you see are the default for the DB2 JDBC provider.
您看到的实现类名和类路径都是DB 2JDBC提供程序所默认的。
In a situation where you're in a clustering environment with hundreds of replicas, it's impractical to add dependent JAR files and other resources into the class path.
在存在数百副本的集群环境中,将依赖JAR文件和其他资源添加到类路径中的做法并不实际。
This also means that the common navigator class we point to in the class field needs to be added to the class path of our plug-in.
这也意味着我们在类字段中指向的通用导航器类需要被添加到插件的类路径中。
If you experience class path errors at any point while working through these examples, verify that these libraries are configured properly.
如果你在运行这些例子时出现路径错误,请核查这些库的配置是否合适。
Therefore, you must make sure these classes are in the class path of any application which references them, including the Personalization user interface itself.
因此,您必须确保这些类已置于任何一个引用它们的应用程序(包括Personalization自己的用户界面)的类路径当中。
SO the IMPLEMENTING-CLASS path refers to the directory where you installed SOAP toolkit.
因此,IMPLEMENTING -CLASS路径请参照您安装SOAP工具箱的目录。
Now let's look at a complete example that shows how to set your class path to run ij, the Derby SQL scripting tool.
现在,让我们来看一个完整的实例,它展示了如何设置类路径,以便运行ij这个Cloudscapesql脚本编制工具。
The Derby class path lets you store jar files in the database itself.
Cloudscape类路径允许您在数据库本身中存储jar文件。
This may occur due to missing import statements; adjusting the project class path and selecting Organize Imports should solve it.
缺少导入语句可能导致这些错误的产生,调整项目类路径并选择organizeImports即可解决。
These can be references to the file system, class path, source code control system, or Web URLs.
它们可以是对文件系统、类路径、源代码管理系统或WebURL的引用。
However, if the class path is set incorrectly, the command that should output version information instead outputs a frustrating NoClassDefFoundError error.
然而,如果类路径的设置不正确,那么应该输出版本信息的命令就会输出一个令人泄气的NoClassDefFoundError错误。
On the next dialog (Figure 8), modify the description (optional), then replace the db2j.jar entry in the Class path with derby.jar
在下一个对话框(图8)中,修改说明(可选字段),然后将类路径中的 db2j.jar条目替换为 derby.jar,它是新的 Cloudscape V10 JAR。
The environment variable CLASSPATH and any class path specified on the command line is ignored by the JVM if the -jar option is used.
如果使用了-jar选项,那么环境变量CLASSPATH和在命令行中指定的所有类路径都被j VM所忽略。
Since you updated the manifest file, Application Developer automatically updates your project class path.
因为已经更新了清单文件,Application Developer将自动更新您的项目类路径。
Include the same jar files listed in Configure the class path in the project build path.
将配置类路径中列出的相同的jar文件包含在项目构建路径中。
Make sure that pdq.jar, pdqmgmt.jar, and the corresponding JCC driver jar files are in the class path when you run these commands.
当您运行这些命令时,请确保pd q .jar、pdqmgmt . jar和对应的JCC驱动程序jar文件位于类路径中。
Make sure that pdq.jar, pdqmgmt.jar, and the corresponding JCC driver jar files are in your class path when you run these commands.
在运行这些命令时,要确保pd q .jar、pdqmgmt . jar和相应的JCC驱动程序jar文件位于类路径中。
The -cp. Option adds the current directory to the search "class path". You should get the following output.
cp选项会把当前目录加入到“类路径”的搜索中去。
应用推荐