Go tho the workbench, Under the File menu, select New Java Project
Give the project a name (for example
Karel J Robot)

In the JRE area, select use an execution environment JRE J2SE-1.5
In the Project Layout area, select Use project folder as root for sources and class files
Uncheck create module-info java file.
Press the Finish button, even if you don't speak Finnish.
Now right-click the new Project and select Preferences at the bottom (or press Alt-Enter or pressCommand-I on a mac or Control-I on Windows)
Click once on the left to select
Java Build Path 
Click once on the third tab called Libraries
Click the second button down called Add External JARs
Place the KarelJRobot.jar file you downloaded earlier into your new project folder (Do this using Finder on Mac or Files on Windows)
Go back to eclipse and select the KarelJRobot.jar file you just dropped into the project folder.
Press the Open button
Press the Apply and Close button
Make a new class RCRunner to test it out: From the File menu, select New → Class (or press the C+ button. ) and name class RCRunner. Paste the follwing code: