| View previous topic :: View next topic |
| Author |
Message |
Linux Guest
|
Posted: Fri Jan 24, 2003 2:44 am Post subject: Starting OpenOffice with Java |
|
|
Hello,
Is there a possibility to start OpenOffice directly from Java or do you have to use a batch-file or a script in Linux to start it ???
Thank you for your answers and have a nice day !! |
|
| Back to top |
|
 |
rhone General User


Joined: 21 Jan 2003 Posts: 25
|
Posted: Sat Jan 25, 2003 2:14 pm Post subject: |
|
|
| What would you want to accomplish by starting OOo from within Java. When you say Java, are you talking about J2SE? |
|
| Back to top |
|
 |
anvilsoup Super User


Joined: 09 Feb 2003 Posts: 606 Location: Australia, mate!
|
Posted: Sun Feb 09, 2003 7:13 pm Post subject: Starting OOo from Java |
|
|
java.lang.Runtime.exec(String command) allows a command-line erm... command to be executed from within Java.
This way you could start OpenOffice.org within Java. |
|
| Back to top |
|
 |
|