Download presentation
Presentation is loading. Please wait.
Published byCatherine Logan Modified over 8 years ago
1
Chapter 1a© copyright Janson Industries 20161 RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import and run a Java class using RAD This presentation is stored in 4thed.Ch01a.ppt
2
Chapter 1a© copyright Janson Industries 20162 RAD ▮ Eclipse: an open source integrated development environment (IDE) ▮ Rational Application Developer based on Eclipse ▮ Lots of files: will take up 2.5 gig of space or more, need 6 gig to install ▮ Get RAD from Black Board Course Content area
3
Chapter 1a© copyright Janson Industries 2016 3 Download and save all 11 files: CZL0EML, RAD_WS_8.0_ 1 through 5, RAD_WS_8.0_ Master, RAD_WS_8.0_TE_8.0_ 1 through 3, RAD_v80_Activation Kit To a folder (I suggest you call it RAD8zipfiles) Depending on your home Internet connection this could take a looooooooooong time..
4
Chapter 1a© copyright Janson Industries 20164 After downloading you should have these files Unzip/Extract each file, one at a time to a single folder (I suggest creating a folder called RAD8 to hold the unzipped files and folders)
5
Chapter 1a© copyright Janson Industries 20165 After unzipping, RAD8 should have 3 folders: RAD, RAD_SETUP, WAS80 And 2 files: RAD80lic.jar and a text file
6
Chapter 1a© copyright Janson Industries 20166 The RAD folder should have these folders RAD
7
Chapter 1a© copyright Janson Industries 20167 The WAS80 folder should have these If any of the folders/files are missing, verify that you downloaded all 11 zip files, their sizes are the same as shown in the slide, you unzipped all 11 to the same folder
8
Chapter 1a© copyright Janson Industries 20168 Go into RAD_SETUP (your files and folders should look like this) and right click launchpad.exe and select Run as administrator (If asked for permission, click yes)
9
Chapter 1a© copyright Janson Industries 20169 At the pop up window, select a language and click Install IBM RAD for WebSphere
10
Chapter 1a© copyright Janson Industries 201610 Have to install the Installation Manager first Make sure the above are selected, click Next
11
Chapter 1a© copyright Janson Industries 201611 Click the I accept license agreement checkbox then Next
12
Chapter 1a© copyright Janson Industries 201612 Specify the install location or accept default Click Next
13
Chapter 1a© copyright Janson Industries 201613 At the Install Packages, screen click Install
14
Chapter 1a© copyright Janson Industries 201614 Success, click Restart Installation Manager button
15
Chapter 1a© copyright Janson Industries 201615 At Installation Manager click install
16
Chapter 1a© copyright Janson Industries 201616 Click the checkboxes for Application Server 8 and RAD for WebSphere 8 then Next
17
Chapter 1a© copyright Janson Industries 201617 Turn off Windows 10 firewall ▮ Turn off any anti-virus s/w ▮ Turn off Windows 7/10 firewall, first by opening Windows Firewall: ▮ In the search box, type firewall ▮ Click Windows Firewall
18
Chapter 1a© copyright Janson Industries 201618 Turn off Windows 7/10 firewall ▮ Click Turn Windows Firewall on or off ▮ If you're prompted for an administrator pwd or confirmation, type the password or provide confirmation ▮ Click “Turn off Windows Firewall (not recommended)” under each network location and then click OK
19
Chapter 1a© copyright Janson Industries 201619 Turn off Windows 7/10 firewall
20
© copyright Janson Industries 2016Chapter 1a20 Go back to the Install Packages window and click next
21
© copyright Janson Industries 2016Chapter 1a21 Click “I accept the terms in the license agreement” radio button, then Next
22
Chapter 1a© copyright Janson Industries 201622 Specify where to install or accept default (RAD cannot be installed to your thumb drive) then click next
23
Chapter 1a© copyright Janson Industries 201623 Specify where to install and click next
24
Chapter 1a© copyright Janson Industries 201624 Click next
25
Chapter 1a© copyright Janson Industries 201625 Click next
26
Chapter 1a© copyright Janson Industries 201626 Click next
27
© copyright Janson Industries 2016Chapter 1a27 Click next
28
Chapter 1a© copyright Janson Industries 201628 Installing RAD ▮ If you get an option for 32 or 64 bit choose 32 bit ▮ Why? ▮ 32 bit apps can run on 64 bit RAD installations but not the reverse ▮ If you bring up the app on a 64 bit installation you will have trouble trying to run on a 32 bit
29
Chapter 1a© copyright Janson Industries 2016 29
30
Chapter 1a© copyright Janson Industries 201630 At Summary window, click Install This will take a while
31
Chapter 1a© copyright Janson Industries 201631 Click Finish Click “Profile Mgt Tools…app server profile…”
32
Chapter 1a© copyright Janson Industries 201632 Deselect “Enable administrative security” and click Next
33
© copyright Janson Industries 2016Chapter 1a33 Click Create
34
Chapter 1a© copyright Janson Industries 2016 34 Deselect “Launch the First steps console” and click Finish
35
Chapter 1a© copyright Janson Industries 201635 RAD installed with Trial license - must change click Manage Licenses (on Installation Mgr)
36
Chapter 1a© copyright Janson Industries 201636 Click Import product Activation Kit then Next
37
Chapter 1a© copyright Janson Industries 201637 Click Browse, then navigate to the folder with the unzipped RAD files (i.e. RAD8) Click on RAD80lic.jar then Open.
38
Chapter 1a© copyright Janson Industries 2016 38 Installing RAD – Update License
39
Chapter 1a© copyright Janson Industries 2016 39
40
Chapter 1a© copyright Janson Industries 2016 40 The license type will be changed to Permanent Click Finish
41
Chapter 1a© copyright Janson Industries 201641 To use the Visual Editor we will have to change the RAD configuration to include it Click Modify
42
Chapter 1a© copyright Janson Industries 201642 In the Modify Packages window, select IBM Software Delivery Platform, and click Next. If you get a prompt for a userid/pw just cancel out of those windows
43
Chapter 1a© copyright Janson Industries 201643 At the Modify Packages window, click Next
44
Chapter 1a© copyright Janson Industries 201644 At the Modify Packages window, Click Struts and SDO development tools
45
Chapter 1a© copyright Janson Industries 201645 Scroll down the Features list, select Java client application editor (VE) and click Next.
46
Chapter 1a© copyright Janson Industries 201646 At the Summary page click Modify
47
Chapter 1a© copyright Janson Industries 201647 Click Finish
48
Chapter 1a© copyright Janson Industries 201648 Close the Installation Manager Window And turn on your firewalls
49
Chapter 1a© copyright Janson Industries 201649 Start RAD by clicking: The Start button All Apps IBM Software Delivery Platform Rational Application Developer
50
Chapter 1a© copyright Janson Industries 201650 Specify the workspace folder, Click OK The Workspace is a folder where all your work will be stored I suggest the folder be on your thumb drive
51
Chapter 1a© copyright Janson Industries 201651 If you get a Security Alert – click Allow Access Starting RAD
52
Chapter 1a© copyright Janson Industries 2016 52 Starting RAD We already created a profile so Cancel
53
Chapter 1a© copyright Janson Industries 201653 Possible RAD Install Problems ▮ You don’t have administrator authority on the computer ▮ Things like the registry will be updated and this requires administrator authority ▮ There is firewall/anti-virus s/w preventing the install ▮ Disable the s/w and try to install again
54
Chapter 1a© copyright Janson Industries 201654 Possible Problems ▮ Zip file(s) download was interrupted ▮ Compare sizes of files in slide 3 to the sizes of your zip files ▮ All files weren’t unzipped into the same directory/folder ▮ The installation s/w will search for the folders in the same folder that the RAD_SETUP folder is in
55
Chapter 1a© copyright Janson Industries 201655 Possible Problems Starting RAD ▮ If you get this, try changing eclipse.ini contents to: (-XX:MaxPermSize=256M -vmargs -Xms40m -Xmx768m) ▮ Here’s a link with more info: http://troyworks.com/blog/2008/06/08/ecl ipse-jvm-terminated-exit-code-1
56
Chapter 1a© copyright Janson Industries 201656 This means you installed RAD correctly and can delete the folder and zip files Close the Welcome window by clicking the white
57
Chapter 1a© copyright Janson Industries 201657 Initial display shows the JEE perspective
58
Chapter 1a© copyright Janson Industries 201658 Perspectives ▮ Many development environments based on the type of application you are creating ▮ Java perspective – client ▮ Web perspective - server ▮ JEE perspective - enterprise ▮ Each has a unique set a panes, views and functions/tools ▮ Indicated at top right of window ▮ In RAD all code must be in a project
59
Chapter 1a© copyright Janson Industries 201659 Start creating a project to hold your Java classes Click File, New, Project
60
Chapter 1a© copyright Janson Industries 201660 Select Java project and click Next Creating a Project
61
Chapter 1a61 Give the project a name: e.g. JavaCourse Click Finish
62
Chapter 1a62 Click Yes button to switch the Perspective
63
Chapter 1a© copyright Janson Industries 201663 This will bring up the Java “Perspective” Notice that JEE is still active just not current
64
Chapter 1a© copyright Janson Industries 201664 Java Perspective made up of 4 panes: Package Explorer pane (far left) Work Space (middle) Outline (far right) Task (bottom) Each pane can display many views Views indicated by tabs at top of pane
65
Chapter 1a© copyright Janson Industries 201665 To bring source code into RAD workspace: In the Package Explorer, click on the project to hold the source code (e.g. JavaCourse) then File, Import
66
Chapter 1a© copyright Janson Industries 201666 Expand General and select File System Click Next
67
Chapter 1a© copyright Janson Industries 201667 Click Browse Select your thumbdrive Click OK
68
Chapter 1a© copyright Janson Industries 201668 Click Customer.java checkbox, make sure JavaCourse is specified then Finish
69
Chapter 1a© copyright Janson Industries 201669 All source code files must go into the src folder Expand the JavaClass project, and drag Customer.java into the src (source code) folder
70
Chapter 1a© copyright Janson Industries 201670 Expand src, then (default package) Double click Customer.java to display source code Notice outline pane to far right
71
Chapter 1a© copyright Janson Industries 201671 Click the Run icon (green circle with white arrow head)
72
Chapter 1a© copyright Janson Industries 201672 Select Java Application (do not select Java Bean) and click OK to compile and run within RAD
73
Chapter 1a© copyright Janson Industries 201673 Click “Always save resources before launching” (will save you a lot of time) Console view will appear in Task pane with results. If console doesn’t appear click Window, Show View, Console
74
Chapter 1a© copyright Janson Industries 201674 RAD underlines errors with red squiggly On left, white X in red circle indicates an error Light bulb icon indicates RAD has suggestions on how to fix error, click light bulb icon and solutions menu shown
75
Chapter 1a© copyright Janson Industries 201675 Selecting a solution (clicking on it) may take away the error…
76
Chapter 1a© copyright Janson Industries 201676 …. but produce the wrong result Finding and Fixing Errors
77
Chapter 1a© copyright Janson Industries 201677 Class Assg ▮ Install/start RAD ▮ Import Customer.java ▮ Run Customer
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.