Hi,

I will start to maintain a package[1][2] used for analysing the boot
process. I collects data while booting and saves they somewhere. Later
the user can run a java program to render a graph from this data.

If the DISPLAY variable is unset sablevm and kaffe fail to render the
graph even through no graphical output is needed/made.

with kaffe as java:
#v+
$ DISPLAY= sh -x $(which bootchart) --format png
+ MAIN_CLASS=org.bootchart.Main
+ 
CLASSPATH=/usr/share/bootchart-view/bootchart.jar:/usr/share/java/commons-cli.jar
+ PROPERTY=java.awt.headless=true
+ exec java -Djava.awt.headless=true -classpath 
/usr/share/bootchart-view/bootchart.jar:/usr/share/java/commons-cli.jar 
org.bootchart.Main --format png
Parsing /var/log/bootchart.tgz

(.:31854): Gtk-WARNING **: cannot open display:  
$ echo $?
1
#v-

with sablevm as java:
#v+
$ DISPLAY= sh -x $(which bootchart) --format png
+ MAIN_CLASS=org.bootchart.Main
+ 
CLASSPATH=/usr/share/bootchart-view/bootchart.jar:/usr/share/java/commons-cli.jar
+ PROPERTY=java.awt.headless=true
+ exec java -Djava.awt.headless=true -classpath 
/usr/share/bootchart-view/bootchart.jar:/usr/share/java/commons-cli.jar 
org.bootchart.Main --format png
Parsing /var/log/bootchart.tgz

(.:31947): Gtk-WARNING **: cannot open display:  
$ echo $?
1
#v-

Can sablevm and kaffe render png images?

Bye, Jörg.

[1] http://www.bootchart.org
[2] http://www.minet.uni-jena.de/~joergs/bootchart/
-- 
The UNIX Guru's View of Sex:
# unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to