使用需要修改的包,类文件包含错误的类

时间:2014-08-20 15:39:31

标签: java

我有java程序,它使用包" jahuwaldt"我必须改变一个类里面,我采取源代码,我做了修改,我编译然后我添加类到packag,但我有这个错误

C:\Program Files\Java\jdk1.6.0_01\bin>javac HT_plane_FD_T.java    
HT_plane_FD_T.java:389: cannot access ContourPlot    
bad class file: .\ContourPlot.class    
class file contains wrong class: jahuwaldt.plot.ContourPlot    
Please remove or make sure it appears in the correct subdirectory of the classpath.    
ContourPlot pp=new ContourPlot(a,0.0,1.0,0.0,1.0,40, false,"x","y","T=f(x,y)");    
^   
1 error 

1 个答案:

答案 0 :(得分:0)

根据this previous question,您的错误是您为ContourPlot.class文件提供了错误的路径。

您确定该文件位于该目录中吗?

相关问题