急!为什么我这个java项目运行不了了?
前段时间在github上下载的代码之前一直能用今天重新import了一下就全是报错了DescriptionResourcePathLocationTypeTheproje...
前段时间在github上下载的代码之前一直能用今天重新import了一下就全是报错了
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project boids-swing Unknown Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files Vec2.java /boids-swing/src/boids line 1 Java Problem
该怎么做?步骤具体一些好嘛、非常谢谢! 展开
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project boids-swing Unknown Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files Vec2.java /boids-swing/src/boids line 1 Java Problem
该怎么做?步骤具体一些好嘛、非常谢谢! 展开
展开全部
我的电脑(单击右键)->属性->高级(选项卡)->环境变量
在“系统变量”里->新建
变量名
JAVA_HOME
变量值
C:\jdk1.6(这个要填自己jdk所在的文件夹)
变量名
CLASSPATH
变量值
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
在“系统变量”里->选中Path->编辑
变量值最前面加入
%JAVA_HOME%\bin;
确定退出。用cmd新开一个控制台输入javac -vertion即可看到编译器版本
在“系统变量”里->新建
变量名
JAVA_HOME
变量值
C:\jdk1.6(这个要填自己jdk所在的文件夹)
变量名
CLASSPATH
变量值
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
在“系统变量”里->选中Path->编辑
变量值最前面加入
%JAVA_HOME%\bin;
确定退出。用cmd新开一个控制台输入javac -vertion即可看到编译器版本
展开全部
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for java.io.ObjectInputStream. Fix the build path then try building this project wotcon Unknown Java Problem
我遇到的是这个问题
The project was not built since its build path is incomplete. Cannot find the class file for java.io.ObjectInputStream. Fix the build path then try building this project wotcon Unknown Java Problem
我遇到的是这个问题
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询