Eclipse:我可以在项目属性中找到Java构建路径
如问题所述,我找不到项目属性内的Java构建路径
我的主要问题是,每当我尝试尝试尝试时,我一直在class file's of class file在“ classpath”错误。从学校项目中打开.Class文件。为了解决此问题,我需要访问项目属性中的Java构建路径,但它并未显示为我。我不确定如何解决这个问题。
As the question states, I can't find the Java build path within the project properties itself
My main issue is that I keep getting "The Class file is not on the classpath" error whenever I try to open a .class file from a school project. To fix this I need to access the Java build path within project properties but it is not showing up for me. I'm not sure how to fix this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我没有Mac,但我想如果您还没有这样做,您应该尝试一下。
file-import-existing_project到工作区。浏览到项目中的.classPath和.project文件位置的位置。
然后检查您的环境变量(Google可以为此提供帮助)和类Path变量:
窗口 - 首选项 - Java-构建路径 - 类Pather变量。
I don't have Mac, but i guess You should try this if you haven't done it yet.
File-Import-Existing_project into the workspace. Browse to the location where the .classpath and .project files locates in your project.
Then check your environment variables (google can help with this) and classpath variables:
Window - Preferences - Java - Build Path - Classpath Variables.
该项目似乎是一个通用项目(没有Java项目),因此错过了“ Java Build”选项是正常的。
此外,您无法打开.class文件,因为是Java编译器编译的Java文件。您必须搜索.java文件。
The project seems like is a general project (No java project), so it's normal that 'Java build' option is missed.
Besides, you can't open .class files, because is a Java compiled file by the Java compiler. You must search for .java files.