how_to_install_the_library_in_bluej
This is an old revision of the document!
Installing an External Library in BlueJ with an external .jar file
- Make a New Project
- Click the
Libraries
Tab - Select the
kareljrobot.jar
file or other .jar file you downloaded, press theOpen
button - It will tell you to restart the Virtual Machine, press the
Okay
button - To test our the
kareljrobot.jar
installation, make a new classRobotRunner
to test it out:
import kareltherobot.*; public class RobotRunner implements Directions { public static void main(String[] args) { World.setDelay(150); World.placeBeepers(4, 3, 2); World.setVisible(); } }
how_to_install_the_library_in_bluej.1725401240.txt.gz · Last modified: 2024/09/03 18:07 by frchris