Hi,
I'm working on oracle 10g on windows XP Pro and I need to sequentially
run four different programs to get a database up and to connect to it.
I thought maybe I can compile a Java executable. I managed it with a
jar manifest.
Then I searched the packages list on the Sun site for Java 1.4.2 but I
don't find one that deals with calling a Window executable from within
a class.
The call should look like:
public class OracleStart()
.
.
shell( oracle.exe );
.
.
Maybe it does not exist because it would not be portable across
platforms?
Many thanks
Paul - 30 Jan 2005 18:39 GMT
Check out java.lang.Runtime.exec()
There are a few overloads, and maybe some other methods in that class that
could be useful to you.
--Paul
> Hi,
> I'm working on oracle 10g on windows XP Pro and I need to sequentially
[quoted text clipped - 16 lines]
> platforms?
> Many thanks
Big Jim - 30 Jan 2005 18:44 GMT
> Hi,
> I'm working on oracle 10g on windows XP Pro and I need to sequentially
[quoted text clipped - 16 lines]
> platforms?
> Many thanks
Have a look at Runtime.exec()