Might be useful to try the following in jconsole to check if the problem is to 
do with pdf output of plot or if it is to do with your environment.

Here is a fresh jconsole session showing the pdf is output:
====================================
   JVERSION
Installer: j602a_linux64.sh
Engine: j602/2008-03-03/16:45
Library: 6.02.049

   load 'plot dir'
   dir jpath '~temp/*.pdf'
   'output pdf' plot i.10
   dir jpath '~temp/*.pdf'
plot.pdf       89384 24-Jun-09 09:09:29
   'output pdf 100 100' plot i.10
   dir jpath '~temp/*.pdf'
plot.pdf        4820 24-Jun-09 09:10:23
=====================================

I wonder if some of the problems you are having a related to the version of 
Java that you are using? Does using using Sun Java help?


> From: Matthew Brand
>    jpath '~temp'
> /home/mb/j64-602-user/temp
> 
> plot i. 10 does not result in temp/plot.pdf for me.
> 
> Neither of,
> 'output pdf /tmp/test.pdf 100 100' plot i.10
> 'output pdf' plot i. 10
> 
> output a file. The following is output to the terminal (I am using
> jwd, not the jconsole):
> sh: : Permission denied.
> 
> I do have rwx permissions for the directory.
> 
> I have now installed the latest base library (but it was out of date
> on my system), but it did not fix the problem.
> 
> I tried GTK by installing the add-on and doing:
> 
> 'output gtk' plot i. 10
> 
> This crashes jwd with the message below output to the terminal. If it
> would be helpful I can email the /home/mb/j64-602/hs_err_pid12264.log
> file but won't unless asked for since it is a bit long.
> 
> m...@mb-laptop:~/j64-602/bin$ ./jwd
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x00000000012983c0, pid=12264,
> tid=140694179125584
> #
> # Java VM: OpenJDK 64-Bit Server VM (14.0-b08 mixed mode linux-amd64 )
> # Distribution: Ubuntu 9.04, package 6b14-1.4.1-0ubuntu7
> # Problematic frame:
> # C  0x00000000012983c0
> #
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to