Install: 

**Note: JavaLabs folder already contains**: (eliminating need to do ** steps)...
      a shortcut for IE that goes directly to Tomcat...
      Eclipse3.0 shortcut. 


Java: j2sdk-1_4_2-08-windows-i586.exe (52 mb)
      from: http://java.sun.com/j2se/1.4.2/download.html
            choose Download J2SE SDK (not the two bundles at the top). 
            click accept, I did the offline Windows platform, (52 MB)
                  don't know that it matters.
      Run the above exe.  
          Accept the license, Next.
          Default to Development Tools, Next.
          Default Browser registration, Install. 
          Installing Java 2 Runtime... takes a while, Next.
          Install Shield Wizard Completed, Finish. 
             Note: never gave me a choice of program directory...
                   it defaulted to c:\j2sdk1.4.2_08                          
Start: Control Panel: System: Advanced: Environment Variables: 
       set JAVA_HOME to c:\j2sdk1.4.2_08  <----MUST DO BEFORE Tomcat Install!!!!!!
       add to PATH: C:\j2sdk1.4.2_08\bin; <----MUST DO BEFORE MyEclipse!!!!!!!!!!!
       --------------above two lines are  VERY IMPORTANT!!!!!!!!!!!!!!!!!!!!!!!!!!

Eclipse: eclipse-SDK-3.0.2-win32.zip (87.5 mb)
         from: http://www.eclipse.org/downloads/index.php  
               click on "JDT - Java Development Tools: Download"
               pick "3.0.2	Fri, 11 Mar 2005 -- 08:45 (-0500)" 
               pick a Windows mirror. 
         Simply Extract Zip file to C:\  (will create an eclipse directory).
         **go to C:\eclipse, create shortcut to eclipse.exe.
         **On the desktop, create a folder JavaLabs.
         **Name the shortcut Eclipse3.0 and move to desktop JavaLabs folder.  
         Click on the shortcut to do initial start of Eclipse.
         Default to C:\eclipse\workspace, click Use this... do not ask..., OK.   
         This brings up Welcome screen.  
         At this point we are done, it looks like it found the most recent compiler
         installation, including the jre in C:\Program Files\Java\j2re1.4.2_08



Tomcat: jakarta-tomcat-5.0.28.exe (10.3 mb) 
        from: http://jakarta.apache.org/site/downloads/index.html 
        choose Tomcat, then Tomcat5, this gets you to page:
              http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi
        from there click on the 5.0.28 exe link under: 
             5.0.28 Binary
                o README (contains packaging information)
                o 5.0.28 exe  <---click this...
      Run the above exe.  
          Welcome..., Next. 
          License Agreement, I agree. 
          Choose Components, default to Normal, Next. 
          Choose Install Location, default to 
            C:\Program Files\Apache Software Foundation\Tomcat 5.0, Next. 
          Configuration, default HTTP: 8080, User Name: admin
                         Password: fill in "javalabs", Next.   
          Java Virtual Machine, defaults to JAVA_HOME setting,
               Install.         
          Completing... (uncheck Show Readme, unless you want to read it)
                        (uncheck Run Apache Tomcat), Finish.

          **Create Tomcat Home shortcut in JavaLabs... (done)...



Sysdeo: tomcatPluginV3.zip (272 KB)
        from: http://www.sysdeo.com/eclipse/tomcatplugin 
        choose 3.0 and follow instructions on page...
        Unzip to C:\eclipse\plugins
        Start Eclipse3.0, 
        select menu 'Window->Customize Perspective...', 
               expand 'Others' and check 'Tomcat' in 'Available command groups'.
        set Tomcat home: Window-> Preferences, select Tomcat and
               check Version 5.x
               set Tomcat home to 
                   C:\Program Files\Apache Software Foundation\Tomcat 5.0
        You should now see three Tomcat Icons (about 4th from left).
        Click the first one (Start Tomcat)  
              I got a windows Firewall warning, so I clicked Unblock.  
              You will see a bunch of messages in the Console Window.  
        **Go to browser, enter http://localhost:8080
        At this point you should see the Apache Tomcat/5.0.28 
                default Administration menu.  This is VERY good.  

        


MySQL: mysql-4.1.12a-essential-win.msi (15.1 mb)
       from: http://dev.mysql.com/downloads/mysql/4.1.html
             Pick "Windows Essentials, then select a mirror...
       Doc: http://dev.mysql.com/tech-resources/articles/4.1/installer.html
       Run msi file above.
       Welcome, Next. 
       Setup type, default to Typical, Next. 
       Ready to Install the Program to C:\Program Files\MySQL\MySQL Server 4.1\
             Install. 
        
       Skip Sign-Up, Next. 
       Wizard Completed.  Leave Confiture the MySQL Server now checked, Finish. 
       Welcome to the MySQL Server ..., Next.
       MySQL Server Instance Configuration, default to Detailed..., Next. 
            Default to Developer Machine, Next. 
            Default to Multifunctional Database, Next. 
            Default to InnoDB..., Next.
            Default to Decision Support..., Next.
            Default to Enalble TCP/IP, Port 3306..., Next.
            Default to Standard Character Set..., Next.
            Default to Install As Windows Service, Name" MySQL, Launch (checked)
                       Click Include...in PATH, Next.
           
            Enter root password "javalabs", check Create An Anonymous, Next. 
            Ready to execute ..., Execute. 
            Default to ..., Next.
            ... Press Finish. 


MySQL Connector/J: mysql-connector-java-3.1.10.zip (6.8 mb)
       fron: http://dev.mysql.com/downloads/connector/j/3.1.html
       choose: Source and Binaries (zip) 3.1.10	6.7M	Pick a mirror <--click link
       Explore zip file, drill down to: mysql-connector-java-3.1.10-bin.jar
          Copy to TomcatHome.../common/lib. 

Edit TomcatHome.../conf/server.xml, 
   look for  "</ResourceParams>" tag, this is end of "sample" ResourceParams...="UserDatabase">
   copy and paste entire contents of file "readme + Zip files\AddedToServer.xml.txt".  
       

MyEclipse: EnterpriseWorkbenchInstaller_030804.exe (58 MB, really 59,579 KB). 
        from: www.MyEclipseIDE.com click downloads.  
              You will have to register for 30 day Trial..., 
              then choose Downloads, and download Eclipse 3.0x for Windows.  
        Run the above exe...
          Welcome screen, Next.  I accept... Next, 
          Please Choose ... Choose or just type in C:\Eclipse
                 Yours may be filled in because I have two installed..., next...
          Where would you like, default C:\Program Files\MyEclipse, Next
          WWYL: product icons: default new... MyEclipse..., Next
          Please Review..., Install
          No release notes, Next... Then Done...
        **Copy MyEclipse Icon from desktop to JavaLabs...
        Verify Installation:
          Click on Icon, Eclipse should start, this took about a minute!
          The MyEclipse icons are now inserted after the print icon (4, 5, 6)
              (and just in front of the sysdeo icons).  
              Hover to see titles: Deploy J2EE Project Server, Run Stop Servers,
                               and Open MyEclipse Web Browser.  
          You should also see the MyEclipse menu item after Project, before Tomcat. 
          Click the "Open Perspective" Icon (upper right of screen),
                select Other, then MyEclipse to open the MyEclipse Perspective. 
          Then, help/about, click MyEclipse icon to see Build ID Information..
          Also, Help/SoftwareUpdates/Manage Configuations,
                You will see a "C:\Program Files\MyEclipse\eclipse entry...

To connect MyEclipse to the Application Server Tomcat:
Window > Preferences > (+) MyEclipse to expand, then (+) Application Servers.
Click Tomcat 5.  On Tomcat Home Directory Browse to:
      C:\Program Files\Apache Software Foundation\Tomcat 5.0
      This should fill in the other directories. 
(*) button to Enable the Tomcat Server...
(+) Tomcat 5 on left then select the JDK... 
      on Tomcat JDK name, do dropdown and select Full SDK.  
         (or click Add then add another Full SDK). 
Click OK to accept changes.  
Windows > Preferences > (+) MyEclipse, (+) Application Servers.
Click on JBoss3, the (*) the Disable button so it won't be in Server Start list.

--------------------------------------------------------------------------------------
The "secret" for mysql and JavaMail is:
copy mail.jar + activation.jar into the SDK sub folder jre/lib/ext   
     (also mysql-connector-java-3.1.10-bin.jar).  
Then it is found in the compile and run time searches w/o having to modify classpath. 
Also needs to be copied into the TomcatHome.../common/lib directory...
--------------------------------------------------------------------------------------
Do NOT do below:
JavaMail: jaf-1_0_2-upd.zip, javamail-1_3_1.upd.zip
          Need activation.jar and mail.jar in common/lib...
          Dave: we don't need this for any of the Boston Labs.  
Add hint and tips below.   
--------------------------------------------------------------------------------------






