BlueJ import102x.IO [英] BlueJ import102x.IO

查看:155
本文介绍了BlueJ import102x.IO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是BlueJ的新手,我有一个课程等级课程的示例.该程序是用BlueJ IDE编写的.它以"import comp102x.IO;开头;当我尝试编译程序时,它不起作用.它仅突出显示.IO;

I am new to BlueJ and I have an example of course grade class. The program was written in BlueJ IDE. It starts with the "import comp102x.IO; when I try to compile the program it does not work. It only points out to the .IO, part of the import comp102x.IO; by highlighting .IO;

您能告诉我我必须做些什么来编译我的程序吗?

Can you please advise what I have to do in order to compile my program?

非常感谢您, 马雷克

推荐答案

听起来您没有将库'comp102x'添加到BlueJ中,这就是程序无法编译的原因:找不到库.要解决此问题,请尝试转到视图"->首选项",然后转到库"选项卡.然后单击添加"按钮,然后在弹出的窗口中,为库选择.jar或.zip文件,然后选择打开".重新启动BlueJ后,该程序应该会编译.

It sounds like you haven't added the library 'comp102x' to BlueJ, which is why the program won't compile: it can't find the library. To fix this, try going to View -> Preferences and go to the Libraries tab. Then click on the Add button and in the window that pops up, select the .jar or .zip file for the library and select open. After you restart BlueJ, the program should compile.

这篇关于BlueJ import102x.IO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆