源库在java库中找不到 [英] source not found in java library
本文介绍了源库在java库中找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是新来的java,并在调试代码
时遇到此问题
I'm new to java and facing this problem while debugging code
我在使用外部文件时发现rt.jar,但没有工作,这是否意味着文件已损坏或什么?
I found rt.jar when used external file but didn't work , Is that mean the file is corrupt or what ?
推荐答案
您需要附加src.zip作为源代码(可能在 / usr / lib / jvm / JAVA -6-的openjdk-AMD64
)。如果您没有src.zip,请确保安装了openjdk-6-source软件包。
You need to attach src.zip as the source (probably in /usr/lib/jvm/java-6-openjdk-amd64
). If you don't have src.zip, make sure the openjdk-6-source package is installed.
这篇关于源库在java库中找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文