venkatesh.mansani@yahoo.
com Naresh i Technologies
EclipsE
Eclipse:
Eclipse is an IDE(Integrated Development Environment) for developing
applications by using Java programming language & other programming
languages like C, C++, Perl, .. etc.,
IDE contains editors, compilers, interpreters, debuggers, plugins, .. etc.,
A plugin is a software component that can be used to extend the
functionality of an IDE.
Eclipse IDE was developed by Eclipse Foundation in 2001.
Eclipse IDE developed in Java programming language.
There are two eclipse softwares for Java.
1) Eclipse IDE for Java Developers
2) Eclipse IDE for Enterprise Java & Web Developers
Eclipse IDE for Java Developers supports JavaSE applications only.
Eclipse IDE for Enterprise Java & Web Developers supports both JavaSE
& JavaEE applications.
Steps to download Eclipse IDE:
1) Open the browser
2) Open Google
3) Type eclipse download in search bar
4) Click on the following link
[email protected] Naresh i Technologies
https://www.eclipse.org/downloads/
5) Click on Download x86_64 button
6) Click on Download button
Steps to Install Eclipse IDE:
1) Open Downloads folder
2) Double click on eclipse-inst-jre-win64.exe file
3) Click on Eclipse IDE for Enterprise Java & Web
Developers
4) Click on Install button
5) Click on Finish button
To Start Eclipse IDE:
1) Open Installation Location:
Example: C:\Users\nit\eclipse\jee-2022-12\eclipse
2) Double click on eclipse icon
(or)
Double click on eclipse shortcut on desktop
3) Select workspace by clicking on browse button
Example:
C:\Users\nit\Desktop\530PMBatch
Note:Eclipse stores projects in a folder is called workspace.
4) Click on Launch button
[email protected] Naresh i Technologies
To open Welcome page:
1) Click on Help Menu
2) Click on Welcome
Perspective:
A perspective is a layout of views & editors.
There are many perspectives:
1) Java Perspective
2) JavaEE Perspective
3) XML Perspective
4) JPA Perspective, .. etc.,
To write Core Java & JDBC programs, use Java perspective.
To write Servlets, Servlet Listeners, Filters & JSP programs, use JavaEE
perspective.
Steps to Open Perspective:
1) Click on Window Menu
2) Click on Perspective
3) Click on Open Perspective
4) Click on Other..
5) Select the perspective(Example: Java)
6) Click on Open button
[email protected] Naresh i Technologies
Steps to Close Perspective:
1) Right click on perspective at top right corner.
2) Click on close.
Steps to create a project:
1) Click on File Menu
2) Click on New
3) Click on Java project
4) Type project name(Example: jdbc)
5) Click on Next button
6) Click on Finish button
Steps to write JDBC program:
1) Right click on jdbc in a package explorer
2) Click on New
3) Click on Class
4) Type class name(Example: ConnectionDemo)
5) Select main() method
6) Click on Finish button
7) Write the code in editor.
Steps to run the above application:
1) Right click on jdbc in a package explorer
2) Click on Run As
[email protected] Naresh i Technologies
3) Click on Java Application
4) Select ConnectionDemo.java
5) Click on OK button
To add JAR(Java ARchive) files:
1) Right click on jdbc in a package explorer
2) Click on Build path
3) Click on Configure Build Path
4) Click on Libraries tab
5) Click on classpath
6) Click on Add External JARs button
7) Select ojdbc6_g.jar (or) ojdbc8_g.jar from the oracle
installation location.
8) Click on Ok button
9) Click on Apply and Close button
By
Mr. Venkatesh Mansani
Naresh i Technologies