4
Directions for installing Java & BlueJ on Windows or Linux (Jan. 29, 2009) Step 1 - Installing Java on a Windows or Linux computer The Java language is housed on Sun Microsystems servers. Using a web browser, you should visit the following website: http://java.sun.com/ The web page should appear something like the following picture. You want to install the standard edition ("SE" in Sun's terminology). To do this click on the link named Java SE and circled in the image above. The resulting page is a download page that should appear similar to the one shown on the next page of this document.

Directions for installing Java & BlueJ on Windows or …riley/CS120F09/InstallingJavaMS.pdfDirections for installing Java & BlueJ on Windows or Linux (Jan. 29, 2009) Step 1 Installing

  • Upload
    lamque

  • View
    226

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Directions for installing Java & BlueJ on Windows or …riley/CS120F09/InstallingJavaMS.pdfDirections for installing Java & BlueJ on Windows or Linux (Jan. 29, 2009) Step 1 Installing

DirectionsforinstallingJava&BlueJonWindowsorLinux(Jan.29,2009)

Step1­InstallingJavaonaWindowsorLinuxcomputerTheJavalanguageishousedonSunMicrosystemsservers.Usingawebbrowser,youshouldvisitthefollowingwebsite:http://java.sun.com/Thewebpageshouldappearsomethinglikethefollowingpicture.Youwanttoinstallthestandardedition("SE"inSun'sterminology).TodothisclickonthelinknamedJavaSEandcircledintheimageabove.Theresultingpageisadownloadpagethatshouldappearsimilartotheoneshownonthenextpageofthisdocument.

Page 2: Directions for installing Java & BlueJ on Windows or …riley/CS120F09/InstallingJavaMS.pdfDirections for installing Java & BlueJ on Windows or Linux (Jan. 29, 2009) Step 1 Installing

YouwillbeinstallingtheJavaDevelopmentKit(called"JDK"atthewebsite).ThecurrentversionofthissoftwareisVersion6,Update16‐thedevelopmentkit,notjusttheruntimeenvironment.ClicktheDownloadbuttoncircledabove.Nowyoushouldseethefollowingpage.Fromthispageyoumustselectyourtypeofcomputer(either"Windows"forXPandVista,or"Linux"or"Solaris"Ifyouhavea64‐bitprocessororanItanium,youneedtoselectoneoftheseoptions.Youmustalsoclickonthe"IagreetotheJavaSEDevelopmentKit6LicenseAgreement"(circledabove)beforeclickingthe"Continue"button.Clickingonthejdk‐6u16‐...linkonthenextpagewillcausetheJavaDevelopmentKittobedownloadedtoyourcomputer.Youmustthenfollowtheinstallationinstructions,double‐clickingthedownloadedfileifitdoesn'tautomaticallybegintheinstall.

Page 3: Directions for installing Java & BlueJ on Windows or …riley/CS120F09/InstallingJavaMS.pdfDirections for installing Java & BlueJ on Windows or Linux (Jan. 29, 2009) Step 1 Installing

Step2­InstallingBlueJTheBlueJIDEislocatedatthefollowingwebsite:http://bluej.org/Thetopofthispageisshownbelow:

Ontheleftsideofthepageisamenu.Selectthedownloadoption(circledabove)fromthismenu.Onthenextpageyouneedtoclickthelinkforthepropersystemlistedin"Step2".onthewebpageThiswebpagealsohasalinktothedirectionsforcompletingthisinstallation.Step3­InstallingJavadocumentation(optional)TheJavalanguageincludesarichcollectionofstandardclassesthatyoucanuseinyourprograms.Theseclasses(alsoknownasan"ApplicationProgrammingInterface"orAPI)aredescribedintheAPIspecifications.Youcanaccessthisdocumentationonlineatthefollowingwebsite:http://java.sun.com/javase/6/docs/api/Ifyoudon'thavefastInternetaccessorjustwanttostoreyourowncopy,youcanalsodownloadallofthisdocumentationontoyourowncomputer.Todownloadthedocumentation,proceedtotheJavaSEDownloadswebpageasshowninStep2(seethesecondwebpageimageinthisdocument).Thistimeyoumustscrolldownthepageabitfarthertothe"JavaSEDocumentation"sectionandclickthe"Download"button(circledonthenextpage).Asalways,youmayneedtofollowdirectionstocompletetheinstallation‐usuallydouble‐clickingthedownloadedfile.

Page 4: Directions for installing Java & BlueJ on Windows or …riley/CS120F09/InstallingJavaMS.pdfDirections for installing Java & BlueJ on Windows or Linux (Jan. 29, 2009) Step 1 Installing

AknownissuewithVistaSomestudentswithVistacomputershaveexperiencedproblemswhentryingtouseBlueJforthefirsttime.Theproblemismanifestedasfollows:whenstartingBlueJ,itdoesnotdisplaytheusualwindow,butinsteadapopupwindowappearscomplainingaboutbeingunabletolocatetheJavadevelopmentfiles.ThewaytocorrecttheproblemistoclicktheBrowsebuttonthatisincludedinthepopupwindow.Fromtheresultingbrowserwindowselect/openthefilethatislocatedin C:/ProgramFiles/Java/jdk1.6.0_16/bin/javaYoushouldonlyneedtodothisthefirsttimeyouexecuteBlueJ.