
Explore how the Eclipse integrated development environment unifies writing, compiling, debugging, and extending Java projects, and learn to install Eclipse, create classes, use content assist, and run unit tests.
Install Java and Eclipse, load the password manager project from resources, work with provided code files and jar exports; create a personal cheat sheet and Mac, Windows, Linux reference sheets.
Install Java development kit 8 update 5 on Windows from Oracle, selecting 64-bit or 32-bit windows, and install to the default program files location, completing with a successful installation notification.
Install the Java Platform JDK 8 update 5 on macOS, download from Oracle, accept the license, run the installer, and complete the setup with credentials.
install java 8 sdk on ubuntu linux using oracle java 8 installer via ppa, run apt-get updates, install java 8, set environment variables, and verify with java -version.
Download Eclipse for Windows, pick Eclipse IDE for Java developers matching your 32-bit or 64-bit system, extract the zip to a folder, run, and set a C drive workspace.
Install Eclipse for Mac by downloading the Eclipse IDE for Java developers from a nearby mirror. Extract, move to Applications, set a default workspace, and open the workbench.
Install Eclipse on Ubuntu Linux by using the Ubuntu Software Center or Eclipse.org, choose Eclipse 4.4 Luna for Java development, then set up workspace and run Eclipse.
Discover the major components of the eclipse java ide, including perspectives, project and package explorers, toolbars and menus, the code editor, and resizable outlines and console panels.
Install plugins in Eclipse by adding an update site for Window Builder, then select and install the Window Builder components, accept the EULA, and restart Eclipse to complete the integration.
Download the working files as a zip, extract them, and place them on your desktop; use the player's open working files button for quick access.
Learn how to configure Eclipse IDE preferences to adjust fonts, colors, and appearance for better visibility. Explore adjusting Java perspective settings to tailor the development environment.
Open the perspective dialog to switch Eclipse IDE perspectives, selecting Java or Enterprise Java to tailor debugging and development for web components, web services, or desktop apps.
Switch to the Java perspective and create a new Java project via the file menu. Configure the default location, select the Java environment, and set the source folder.
Create packages in Eclipse for the password manager project, using right-click on the source folder or the file menu to select new package with alt+shift.
Create classes in eclipse by adding new class to a chosen package, using alt shift in or right-click. Define password manager, program, and encryptor, ensuring correct naming and compilation.
Discover two ways to run a program in Eclipse: right-click the main method file and choose run as Java application, or click the play button with a run configuration.
Learn the Eclipse Java project folder structure on disk, including source folders, packages, the bin directory with compiled classes, and the Settings folder for preferences.
Learn how to add JUnit tests in Eclipse for a Java project by creating a test class, configuring the JUnit library, and running unit tests.
Download the Quick Jaison jar, place it in your project, and add it as an external jar via build path libraries. Use the jar's public classes in your code.
Delete a project from the Eclipse workspace and disk, confirming removal, and back up the quick jar file so you can re-import the project later.
Import an existing eclipse project into your workspace and configure the build path to ensure jars and unit tests run correctly.
Enable folding in Eclipse IDE to quickly expand or collapse code blocks, using control plus the numpad divide or right-click, with Mac equivalents for collapse and expand.
Use Eclipse content assist to quickly stub code with ctrl+space (cmd+space on mac), generating a main method and creating objects like password collections, with intellisense after the dot.
Master locating matching brackets in Eclipse IDE to determine the scope of methods, if statements, and try-catch blocks. Use the blue left line and ctrl+shift+p to jump between brackets.
Use the control q (or command q on Mac) keyboard shortcut to go back to your most recent edit, quickly returning to the previous line in a large, multi-file project.
Master keyboard navigation in eclipse java ide, switching between project and package explorers with ctrl+page up/down, and expanding, collapsing, and opening files with arrow keys and F3.
Learn to use keyboard shortcuts like alt shift x to run java programs or junit tests in eclipse IDE, update data and password file paths, and verify tests execute correctly.
Clean up import statements by removing unused ones and adding what’s needed. Use control shift (command shift on mac) to resolve imports, with the asterisk importing only what’s required.
Learn keyboard shortcuts to navigate and edit code in eclipse, including scroll, word-by-word movement, keyword jumps, line selection, and quick line deletion without using the mouse.
Navigate the file menu to create new files, open files, and use close, close all, save, save as, and save all to manage files and editors.
Use Eclipse's built-in revert to restore the most recent saved version of a file, per file via the File menu, though it's limited and not a substitute for source control.
Learn how to move and rename files in Eclipse, refresh projects, convert line delimiters, print, and restart the workspace, with automatic refactoring and reference updates.
Switch your eclipse workspace to work on production code while keeping development code separate, then re-import the production project into the new workspace and switch back when needed.
Export your project as a runnable jar file from file menu to deploy on other machines, including options to include libraries, name the jar, place on desktop, and address warnings.
Explore the edit menu in Eclipse Java IDE, covering undo, redo, cut, copy, paste, delete, select all, and copying the qualified name with shortcuts.
Master expand selection to techniques in Eclipse, using enclosing element, next element, previous element, and restore less selection with alt-shift and arrow keys to select entire blocks.
Discover how to find and replace text in the Eclipse editor, navigate to next or previous matches, and use incremental search with keyboard shortcuts for efficient code editing.
Learn to create, name, and manage bookmarks in Eclipse, view them in the bookmarks pane, jump to lines, and remove or delete bookmarks.
Use eclipse built-in tasks to manage coding across days, including adding high-priority tasks, viewing and completing them, and quickly navigating to the related code lines.
Toggle smart insert mode on and off and customize its behavior in the java editor. Configure automatic closing of strings, braces, and semicolons, and adjust documentation and brackets settings.
Discover how to view and edit tool tip descriptions, change file encoding to UTF-8, and apply quick fixes to code errors with Eclipse Java IDE.
Explore advanced content assist and word completion in Eclipse, using control-space, templates, and Java proposals to quickly insert method stubs and avoid repetitive typing.
Learn to toggle and create comments in Eclipse Java IDE by using keyboard shortcuts for single line, block, and Javadoc comments, including Mac and Windows variations.
Shift code blocks using tab or shift tab to adjust indentation, then format using source format element and fix whitespace with control shift f to align code with our standards.
Learn to add and organize imports in Eclipse: use hover or quick fix to import missing classes, and use organize imports to remove unused ones with keyboard shortcuts.
Learn to quickly override and implement base methods in existing classes using the source menu, generating equals, clone, and toString stubs, with options to insert at top, middle, or bottom.
Generate getters and setters for private fields offset and options in the encryptor class using Eclipse's source generate feature, and choose insertion point.
Generate delegate methods to expose a private hash map within the password collection, using the source menu to select map methods like keyset, size, and is empty.
Generate to string, hash code, and equals methods for a class using source templates, choosing fields to include, and selecting string construction methods like format, concatenation, or string builder.
Learn to generate constructors for a class using fields or the superclass, control the default constructor, and manage variable naming for clarity via the source menu.
Learn to quickly wrap code blocks in try catch, if, and loops; handle exceptions at the top level and check file existence with if not exist.
externalize hard coded data file path and password file path by generating a messages properties file and using keys 0 or 1, enabling deployment across machines with different configurations.
Explore sorting class members with Eclipse's sort members tool, and clean up Java code using source cleanup to enforce code blocks, improve formatting, and apply standard refactoring practices.
Master renaming and moving files in the Eclipse Java IDE using the refactor menu, rename compilation unit dialog, and move dialog with update references, previews, and handy shortcuts.
Learn how to refactor a method signature in the Eclipse Java IDE, changing access modifiers, return type, parameters, and exceptions, while previewing impacts and legacy code compatibility.
Extract code into its own method using the refactor option, with alt+shift+M, create the method name, set access modifiers, edit parameters, choose runtime exceptions and comments, and preview changes.
Extract expressions to local variables or constants via the refactor menu, using alt shift l. Preview changes, name the variable, and replace all occurrences, then extract hard coded constants.
Learn to inline a function in Eclipse Java by using the refactor inline function option, replacing all calls with the function code and removing the original method.
Learn how to refactor by converting local variables to fields, moving types to a new file, and turning anonymous classes into nested ones, using the password data editor example.
Refactor your code by extracting an offset into a superclass and an interface, add getters and setters in password collection, and implement the interface in encryptor.
Learn how to push down and pull up in a refactor, moving a password collection's code between offset and its superclass, and adjust anything's getters and setters.
Learn how to refactor by extracting a class to manage passwords and index state, then introduce a parameter object to simplify method signatures and future extension.
Explore indirection, factory creation, and field encapsulation using refactor techniques to introduce indirect methods, create factories, and generate getters and setters for flexible class design.
Generalize declared types and infer generic type arguments in Java using refactor tools, replacing hash map with map or abstract map and parameterizing pairs to remove raw type warnings.
Learn to use the navigate menu to go to the previous or next member and to find the matching bracket using shortcuts like ctrl-shift-up, ctrl-shift-down, and ctrl-shift-p (mac equivalents).
Discover how to quickly locate where variables are declared and view type hierarchies in Eclipse, using open declaration, open type, and open type hierarchy with keyboard shortcuts.
open resources with the open resource dialog to locate and open a file, then use the navigate menu to view the call hierarchy for getString.
Explore open implementation and open super implementation in Eclipse to view and override methods such as get passwords and generate two string, showing how super implementation operates.
Learn to generate Java docs and open the attached Javadoc for specific classes, configure the Javadoc location in project properties, and view the generated documentation in Eclipse.
Toggle the breadcrumb to see a file’s package directly above the editor, and use the navigate menu or the keyboard shortcut upshift B to show or hide it.
Explore the quick outline and quick type hierarchy to navigate your password collection class, view package, class, and methods, and jump to declarations and superclasses with keyboard shortcuts.
Learn to use the go to line feature in Eclipse Java IDE to jump to a specific line via navigate or keyboard shortcuts, and quickly access errors by double-clicking.
Explore java search, file search, and text search in eclipse, using the search dialog and shortcuts like ctrl+H or command to locate all occurrences across the workspace.
Discover how to search for references, declarations, and implementations in the workspace. Use the search menu to locate references, declarations, and the interface I offset's implementations in the offset class.
Learn to locate all occurrences of the offset variable in a file using the search menu, view results in the search console, and jump to lines via double-click or shortcuts.
Learn how to build an Eclipse Java project, compile code, and resolve errors using build all, build project, or build automatically, then run the project.
Learn how incremental builds save time by only rebuilding changed classes, and how a clean wipes out all classes to rebuild from scratch across one or more projects.
Explore how to access and configure Eclipse project properties, including resources, build path, libraries, coding style, compiler, editor, javadoc location, references, task tags, run configurations, and validations.
Learn to run and debug Java programs in Eclipse using run options, the play button, and Run menu, then switch to the debug perspective to inspect variables, breakpoints, and threads.
Master debugging in Eclipse by setting breakpoints, watchers, and stepping through code. Learn to toggle breakpoints, run in debug mode, inspect variables, and use conditional breakpoints to control execution.
Explore the eclipse marketplace to install pre-built tools like database development and source control. Access from the help menu or website, searching and installing popular projects with a click.
We review setting up Java and Eclipse, creating and managing projects, debugging and testing, and using shortcuts, perspectives, and tools like window builder to write great code.
This Eclipse Java IDE training course from Infinite Skills teaches you how to develop applications in this integrated development environment. This course assumes you have some knowledge of Java.
You will start by learning how to create a project, including creating packages and classes, running the program, and the project folder structure. Brian will then teach you advanced project operations and editor and general shortcuts. This video tutorial will cover the file and edit menus, the source, refactoring, and navigating and searching. Finally, you will learn how to build and run projects, including running and debugging the project and setting breakpoints, watchers, and stepping through code.
Once you have completed this computer based training course, you will have gained the knowledge necessary to develop your own applications in Eclipse. Working files are included, allowing you to follow along with the author throughout the lessons