M
MARTIN Herve \(EXT\)
Hi all,
I have a Java application using graphical features and dealing with Orbix
(CORBA).
This application is launched by a Unix shell script doing some environment
configurations before launching the actual Java application.
If I execute this Unix shell script through a small Java program using
Runtime.getRuntime().exec() the execution becomes very very slow.
Has anybody got an idea why??
Hervé.
Java 1.4.2 is used;
The application runs on Sun
He is the small Java program
class BasicLaunch
{
Process process;
void test () {
try {
process = Runtime.getRuntime ().exec (new String[]
{"/home/runesc/application_script"});
process.waitFor ();
}
catch (Exception e) {
System.out.println ("ERROR: "+e);
System.exit (1);
}
System.out.println ("launched");
}
public static void main (String[] arg) {
BasicLaunch basicLaunch = new BasicLaunch ();
basicLaunch.test ();
}
}
I have a Java application using graphical features and dealing with Orbix
(CORBA).
This application is launched by a Unix shell script doing some environment
configurations before launching the actual Java application.
If I execute this Unix shell script through a small Java program using
Runtime.getRuntime().exec() the execution becomes very very slow.
Has anybody got an idea why??
Hervé.
Java 1.4.2 is used;
The application runs on Sun
He is the small Java program
class BasicLaunch
{
Process process;
void test () {
try {
process = Runtime.getRuntime ().exec (new String[]
{"/home/runesc/application_script"});
process.waitFor ();
}
catch (Exception e) {
System.out.println ("ERROR: "+e);
System.exit (1);
}
System.out.println ("launched");
}
public static void main (String[] arg) {
BasicLaunch basicLaunch = new BasicLaunch ();
basicLaunch.test ();
}
}