CSIS10A Installation Instructions for Setting up the Bluej Java IDE
Total Page:16
File Type:pdf, Size:1020Kb
CSIS10A Installation Instructions for setting up the BlueJ Java IDE I. Before installing BlueJ, Windows users will need to install the Java JDK first. (Mac OS 10.5 and higher should already have this) 1) To use the BlueJ IDE in this class, you must first download the latest Java JDK. Visit http://www.oracle.com/technetwork/java/javase/downloads/index.html and scroll down and click the first box that says “Download JDK”. On the next window, choose your platform. Ignore any other registration steps and click continue at bottom 2) Another page comes up (below). Click the red link below. 3) You should then find the downloader asking whether to save the file. NOTE: If you are blocking popups in Internet Explorer, you may get a notification at the top of your browser window (blue line below this line). Just click and enable download. When the File Download begins… 4) Choose “Run” and click through all security warnings. Follow the standard install guidelines, keep the default directories and so on. II. Installing the BlueJ Integrated Development Environment 5) Download the appropriate version of BlueJ for your computer at the following link: http://www.bluej.org/download/download.html Go directly to Step 2 below (you have already installed Java JDK) 6) Click on the appropriate platform and choose RUN at the File Download prompt. Click through any security warnings. 7) Close any unnecessary programs and click next. Click all the NEXT buttons in the dialogues that follow, then click INSTALL on the last one. 8) After BlueJ finishes installing, you can now run a test program to make sure it works. 9) Open BlueJ, choose Project>NewProject and browse to the folder you want the project in. Then give it a name such as Test: 10) In BlueJ Click on “New Class” and give it a name such as “Test” 11) Double click on the Test file block in BlueJ and replace the default code with this: 12) Click the Compile button then if no errors, go back to the main BlueJ window, right-click the Test icon and choose void main(String *+ args) from the pull down menu. Click OK and you’ll get a terminal window that says “Hello World” in it. 13) While you are at it, this is a good time to check you are showing file extensions, which can be helpful when programming using data files which we will do later in class. At the top of any folder window choose Tools>FolderOptions: 14) Click on the View tab and UNCHECK the box that says “Hide Extensions for Known File Types” so it looks like this: (and click OK) 15) Congratulations! Your Java installation is complete! .