- 03-23-2009 #1
Junior Member
- Join Date
- 23 Mar 2009
- Posts
- 4
- Points
- 110
Oracle 9i installation on windows xp machine
Hi i have installed oracle 9i client on my windows xp machine.should I need to install the corresponding server on my machine to start working? If yes, the server is freely availbale to download? I want to learn java/j2ee. For that i need oracle. can any one please help me?
-
- 03-23-2009 #2
Re: Oracle 9i installation on windows xp machine
hi, you did not need to install the Oracle Client. If all you want to do is practice oracle queries on your pc, you need to download oracle database server and install it. Oracle database is available to download at the link below:
http://www.oracle.com/technology/sof...01winsoft.html
However it's a heavy download so u better have a fast internet connection. It's very easy to install on a xp machine so you shouldn't have a issue.
- 03-23-2009 #3
Junior Member
- Join Date
- 23 Mar 2009
- Posts
- 4
- Points
- 110
Re: Oracle 9i installation on windows xp machine
Hi thank u so much for the quick response. After installing this database server will i be able to access(insert/delete/update) the tables from the java page? Thanks in advance.
- 03-23-2009 #4
Re: Oracle 9i installation on windows xp machine
yes it is very easy to connect to oracle with java , you have to use some code like, (not tested)
Code :import java.sql.*; class demo { public static void main (String args []) throws SQLException { DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@db_server:1521:orcl","scott", "tiger"); Statement stmt = conn.createStatement (); ResultSet rset = stmt.executeQuery ("select * from employee_table"); while (rset.next ()) System.out.println (rset.getString (1)); } }
Hope it helpsLearning is a path with no destination...
- 03-27-2009 #5
Junior Member
- Join Date
- 23 Mar 2009
- Posts
- 4
- Points
- 110
Re: Oracle 9i installation on windows xp machine
Thank you Sameer....
- 03-27-2009 #6
Junior Member
- Join Date
- 23 Mar 2009
- Posts
- 4
- Points
- 110
Re: Oracle 9i installation on windows xp machine
Hi Tyro & Sameer,
I downloded the complete package (Download the Complete Files) from the url you specified and i installed it on my machine. Now I'm able to see 'SQL plus' from start-> programs-> Oracle oraHome92->application development->SQL Plus. When I try to open the SQL plus its asking for username,password and host string..
What should i enter for the host string?
Please advice..Thanks in advance..
- 03-27-2009 #7
Re: Oracle 9i installation on windows xp machine
if your database is installed on your laptop you don't need a connection string, just enter scott for user and tiger for password.
Other Solutions
-
oracle 9i and 11g installation on single machine problem in dbca
By vks0982 in forum Installation - WindowsReplies: 1Last Post: 11-22-2010, 05:10 PM -
ODAC 10.2.0.2.21 Installation failed on Windows Server 2008 (x64 bit)
By bhaveshcjain in forum Installation - WindowsReplies: 0Last Post: 02-16-2010, 09:22 AM -
R12 on a Vmwhare machine on windows 2003
By Moonwalker in forum Oracle FinancialsReplies: 1Last Post: 02-12-2010, 09:56 AM -
how to find exp and imp version of machine and oracle
By NAT in forum Security, Backup and RecoveryReplies: 3Last Post: 12-24-2009, 08:40 AM -
11i Apps Installation on Windows
By RIAZ in forum Installation - WindowsReplies: 3Last Post: 07-20-2009, 05:38 AM




