File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Runtime.exec() and Sql Loader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Runtime.exec() and Sql Loader

Cathleen Meneses

Joined: Mar 16, 2004
Posts: 21
I am writing a Java application running on windows. the primary thing that the program does is to parse data and write it in a text file , connect to the database and insert the text file to the table by means of an sql loader...
the database that i am connecting on is running on a solaris =)
anybody know how to do this by using the Runtime.exec()? many thanks!! any help is greatly appreciated!! =)

Sample Values:
CASA.CTL -> my sql loader
oracle.jdbc.driver.OracleDriver -> my driver
jdbc racle:thin:@ my url
bdoabcd -> my username
password -> my password
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums, it creates duplicate conversations and wastes the time of the people trying to help you. The duplicate thread is here, I'm going to ask for this copy to be closed.

[ January 16, 2005: Message edited by: David O'Meara ]
I agree. Here's the link:
subject: Runtime.exec() and Sql Loader
It's not a secret anymore!