Executing Linux Commands In Java Program.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pravin_Gaikar
Posted On:   Tuesday, September 3, 2002 11:04 AM

hello, can anyone help me?
i want to execute statements in sequence


1) DISPLAY=:1.0


2) export DISPLAY


3)java program code for graph generation.


4) export -n DISPLAY


all through java program, how can i do? could u able to send sample code? so that i get clearly.

Please use html tags to format code blocks.

Re: Executing Linux Commands In Java Program.

Posted By:   Christopher_Koenigsberg  
Posted On:   Tuesday, September 3, 2002 12:06 PM

Your best bet is to run a shell script, that sets the DISPLAY, and then runs Java on your program.

About | Sitemap | Contact