Transcript
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.


Top Related