OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Starting OpenOffice with Java

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Linux
Guest





PostPosted: Fri Jan 24, 2003 2:44 am    Post subject: Starting OpenOffice with Java Reply with quote

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
General User


Joined: 21 Jan 2003
Posts: 25

PostPosted: Sat Jan 25, 2003 2:14 pm    Post subject: Reply with quote

What would you want to accomplish by starting OOo from within Java. When you say Java, are you talking about J2SE?
Back to top
View user's profile Send private message
anvilsoup
Super User
Super User


Joined: 09 Feb 2003
Posts: 606
Location: Australia, mate!

PostPosted: Sun Feb 09, 2003 7:13 pm    Post subject: Starting OOo from Java Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group