BlueJ import102x.IO [closed]

我的未来我决定 提交于 2019-12-13 10:30:37

问题


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?

Thank you so much in advance, Marek


回答1:


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.



来源:https://stackoverflow.com/questions/24791998/bluej-import102x-io

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!