users@glassfish.java.net

Glassfish 2.1.1 installer: can I specify temporary files location?

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Wed, 15 Sep 2010 10:57:22 +0100

I'm trying to install Glassfish 2.1.1 on Solaris 10 by typing:

    java -Xmx256m -jar glassfish-installer-v2.1.1-b31-sunos_x86.jar -console

This fails with

Exception in thread "main" java.io.IOException: No space left on device
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:247)
        at glassfish.main(glassfish.java:85)

I think this is because my "/" partition has only 109Mb free space.

However the partition on which I am trying to install Glassfish has lots of free space. Is there any way in which I can
configure the installation process so that it stores its temporary files somewhere different?

Nigel