JRE Installation in directory having space in its name.

Hi

I have installed JRE in a directory say /proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/

when i cun java from /proj/pmcfg/akostha/test dir/jre1.3/bin directory..it says

grep: can't open /proj/pmcfg/akostha/USM

grep: can't open 0.5.15.2/jre1.3/bin/./../lib/jvm.cfg

and when i run

"/proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/bin/java" from other directory

it says

Error: can't find libjava.so.

what is the reason..If it is not recommended to install JRE in a directory having space in its name.

or else what is the work around.I'm using SunOS5.6. Saprc

Ajay

[639 byte] By [akostha] at [2007-9-26 10:29:52]
# 1
Have you tried to copy libjava.so to /usr/lib?
jodamoju at 2007-7-1 22:48:21 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

I'm not sure about Solaris, and my proposal might also only work for some shells, but with bash under linux, you have to escape spaces that appear in file/diretory names, so instead of saying "my directory", you have to say "my\ directory" (without quotes).

Or try maybe "my directory" (with quotes) - that would be teh M$ way to do it.

0748985589 at 2007-7-1 22:48:21 > top of Java-index,Java HotSpot Virtual Machine,Specifications...