Beginning with KDE 2.1 Beta 2, I have 2 applications that will NOT
launch from any KDE applink or menu entry that I create, and I can't
figure out why they won't launch, because if I enter the identical
command line from inside a (bash) terminal window WILL launch either
application.

I had hoped that KDE 2.1 final would resolve this issue, but it has
not.

The first app is:  Corel WordPerfect 8 , which normally launches by
entering:
/usr/share/wordperfect/wpbin/xwp

The second app is:  Polarbar Mailer, a java mailreader that I usually
launch by running the following "executable" scriptfile
(start_polarbar) which contains:

#!/bin/bash
# Script to start the PolarBar Mailer under Linux. The script accepts
# as parameter 1 = $pbmdir  the path to the polarbar install
directory,
# which defaults to the value of /usr/local/polarbar
# as parameter 2 = $maildir the path $2 the path to the Mailer
directory,
# which defaults to $HOME/Mailer
# as parameter 3 = $jdkdir the path to the version of the jdk to use.
# which defaults to /usr/local/jdk118
# This allows multiple different code base versions installed in
different
# locations to be run under different jdks by passing parameters

# Set permissions for writing config and POP files

umask o-rwx

# Set directory values

if [ $1 ]; then
  pbmdir=$1
else
  pbmdir=/$HOME/polarbar
fi

if [ $2 ]; then
  maildir=$2
else
  maildir=$pbmdir/Mailer
fi

if [ $3 ]; then
  jdkdir=$3
else
  jdkdir=/usr/jdk118
fi

# Export some variables needed by some JDKs

# setexport PATH=$jdkdir/bin:$PATH
export JAVA_HOME=$jdkdir/

# Change to installation directory

cd $pbmdir

# Run mailer setting "Mailer" directory to user's mail directory.

java -nojit -classpath
$pbmdir:$pbmdir/polarbar.jar:$pbmdir/hotjavabean.jar:$CLASSPATH
org.polarbar.mailer -d $maildir

# End of script


Polarbar will NOT even launch from a KDE applink if I check the "Run
in terminal" box!


Does anyone have any idea as to what might be causing these problems,
and what I might do to resolve them?

I now have a forehead shaped indentation in the surface of my desk
from continued head banging!

George

Reply via email to