Rmic命令“Class not found”错误的解决方法
2009-03-16 21:43
731 查看
今天运行那个rmic命令,总是出现class not found的错误,搞得我很火大。设定那个classpath也是不管用。后来翻遍所有的网站,才发现自己jdk设置有问题。Classpath中末尾缺少一点。
修改为
classpath=,;C:/Program Files/Java/jdk1.5.0/lib/dt.jar;C:/Program Files/Java/jdk1.5.0/lib/tools.jar;.
这样就可以了。
在网站上查阅了一下,classpath最后那一点表示的含义为:
在搜索类的路径中包括当前目录。
原来如此啊,呵呵!
修改为
classpath=,;C:/Program Files/Java/jdk1.5.0/lib/dt.jar;C:/Program Files/Java/jdk1.5.0/lib/tools.jar;.
这样就可以了。
在网站上查阅了一下,classpath最后那一点表示的含义为:
在搜索类的路径中包括当前目录。
原来如此啊,呵呵!
相关文章推荐
- 今天用PHP解析xml时出现如下错误:php Fatal error: Class 'DOMDocument' not found。 环境:CentOS 5.5; PHP 5.3.8 解决方法:
- bash: service: command not found(service命令未找到的) 错误的解决方法
- Mac系统终端命令行不执行命令 总出现command not found解决方法
- linux上传文件 rz命令 提示command not found 解决方法
- Mac系统终端命令行不执行命令 总出现command not found解决方法
- [转]登陆FTP服务器feat命令错误的解决方法
- CentOS执行ftp命令提示ftp:command not found解决方法
- php7 出现Class 'PDO' not found 的解决方法
- Mac系统终端命令行不执行命令 总出现command not found解决方法
- this class is not key value coding-compliant for the key buttonPressed.' 错误解决方法
- Win7 IIS7 HTTP 错误 404.2 - Not Found解决方法
- 在 Mac 中安装 MySQLdb (Python mysql )出现“mysql_config not found”错误的解决方法
- Reason: image not found 错误解决方法
- php 导入excel解析提示 Fatal error: Class 'ZipArchive' not found解决方法
- IIS7.5 下:HTTP 错误 404.17 - Not Found 请求的内容似乎是脚本 解决方法
- this class is not key value coding-compliant for the key Button 错误解决方法
- Ubuntu/Debian下 apt-get command not found 命令无法找到的解决方法
- Fatal error: Class 'GearmanClient' not found解决方法
- 出现 Exception sending context initialized event to listener instance of class XXX 错误的原因及解决方法
- linux系统中shell中执行命令是报:bash: ifconfig: command not found错误的解决办法