You are on page 1of 4

M.S.RAMAIAH INSTITUTE OF TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING STEPS TO CONFIGURE ORACLE DRIVER IN ECCLIPSE 1.

Download driver for oracle 9i. (ojdbc14.jar, differ from one version to another version of oracle) and keep it on the windows Desktop 2. Start Eclipse, Create New Project. 3. Right Click JRE System Libraries. Build Path Configure Build Path Select Libraries Tab Add External Jars Select ojdbc14.jar from your downloaded path (Desktop) 4. Create Class File, type the program and Run the Program STEPS TO CONFIGURE TOMCAT IN ECCLIPSE 1. 2. 3. 4. 5. Down load Tomcat software (exe file, present eclipse version compatible) Install Tomcat Software (Self Extract exe file) Download Tomcat plug-in (zipped file, present eclipse version compatible) Download servlet-api.jar file (jar file, present eclipse version compatible) Keep unzipped tomcat plug-in file E:\eclipse\plugins folder (Folder where eclipse installed) 6. Create New Project Web Dynamic Web Project

7. Enter tomcat Project name NextNextYes for the following

8. Go to Console window (see Down side window pane) Select Server Right ClickNewServer

9. Select Apache Tomcat v5.5 Server (present tomcat software downloaded by you)

10. Select Tomcat installation directoryFinish

11. Now Tomcat Server is available through eclipse 12. Right Click Start the Server: The Server Started, Synchronized appear on the screen 13. Right Click on Project Name(Left side window pane) Select Build Path LibrariesAdd External Jar files 13. Select servlet-api.jar from your path 14. Right Click on Project Name(Left side window pane) New Html Page Enter html file name (e.g: a.html) 15. Write HTML code 16. Right Click on Project Name(Left side window pane) New Servlet Enter Class Name in Create Servlet Window (Eg. HelloServlet) 16.Right Click on a.html file under Web content Run as Run on Server 17. HTML file will be executed and appear on the browser.

You might also like