java文件编译问题

要求:写出编译Licen.java 的详细过程,最后把编译完成的.class文件发上来。
注意:可能用到包已经上传,一共3个。。。。。。

1.删除以下两行,因为没有用到
import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.preference.PreferenceDialog;

2.return UIPlugin.getDefault().getStateLocation().append("spket.lic").toFile();
修改为
return UIPlugin.getDefault().getLicense().getLicenseFile();

3.
public boolean check(File file)
{
byte abyte0[] = getLicenseData(file);
return check(abyte0);
Object obj;
//obj;
break MISSING_BLOCK_LABEL_17;
//obj;
return false;
}
修改为
public boolean check(File file)
{
byte abyte0[];
try
{
abyte0 = getLicenseData(file);
return check(abyte0);
}
catch (IOException e)
{
e.printStackTrace();
}

return false;

}

4.添加org.eclipse.jface_3.5.2.M20100120-0800.jar

5.上面仅是让编译通过,生成的class文件可以到我的博客下载。http://crazygoal.iteye.com/