[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: files required
From: |
david ROBIN |
Subject: |
Re: files required |
Date: |
Sun, 9 Jan 2000 07:25:17 -0800 (PST) |
> It looks like you somehow introduced newlines when
> you set up
> that script on Windows 98.
Hi Marcus, i achieve to make swarm works with
jdk1.2.2, but this is very strange:
1) i decided to erase my swarm-2.0.1 directory and to
re-install swarm.
2)I hack the javaswarm script like you told me in a
precedent letter.
3) In order to test, i launch a swarm terminal.
I realise then that the command line has change:
before i re-install, the command line was:
I have no
address@hidden/swarm/swarmapps-2.0.1/jheatbugs-2.0.1] $
and now it is:
address@hidden/swarm/swarmapps-2.0.1/jheatbugs-2.0.1]
$
but i am still not login when i start win98
So i go to the jheatbug diretory, i do:"javaswarm
StartHeatbugs" and it works perfectly.
i really don't know why it didn't work before.
For swarm users who want to use the jdk, i give the
javaswarm script:
#!/bin/sh
swarm_prefix="${SWARMROOT}"
swarm_exec_prefix="${swarm_prefix}"
jdkdir="/jdk1.2.2"
if test yes = yes; then
PATH=${swarm_exec_prefix}/bin:${CYGFS}H-i586-cygwin32/lib/../bin:$PATH
else
PATH=`cat << EOF | sort 2>/dev/null | uniq | tr
'\012' ':'
${swarm_exec_prefix}/lib
${CYGFS}H-i586-cygwin32/lib
${CYGFS}H-i586-cygwin32/lib
${SWARMROOT}/lib
${SWARMROOT}/lib
${SWARMROOT}/lib
EOF
`$PATH
fi
JAVALIBS="${SWARMROOT}/bin:${jdkdir}/jre/bin/java"
_JAVACLASSES="${jdkdir}/jre/lib/rt.jar"
if test yes = yes; then
DOSJAVALIBS=''
for path in `echo $JAVALIBS | tr ':' '\012'`; do
path=`eval echo $path`
DOSJAVALIBS="${DOSJAVALIBS}`cygpath -w "$path"`;"
done
JAVACLASSES=''
for path in `echo $_JAVACLASSES | tr ':' '\012'`; do
path=`eval echo $path`
JAVACLASSES="${JAVACLASSES}`cygpath -w "$path"`;"
done
PS=';'
PD='\'
swarmclassdir=`cygpath -w "${swarm_prefix}/share"`
KAFFELIBRARYPATH=`cygpath -w
"${swarm_exec_prefix}/bin"`${PS}${DOSJAVALIBS}
else
JAVACLASSES=$_JAVACLASSES
PS=:
PD=/
swarmclassdir="${swarm_prefix}/share"
KAFFELIBRARYPATH="${swarm_exec_prefix}/lib${PS}${JAVALIBS}"
fi
JAVAENV=
JAVACMD=${jdkdir}/bin/java
export PATH KAFFELIBRARYPATH
JAVA_CLASSES_INSTALLED_AS=jar
if test x$JAVA_CLASSES_INSTALLED_AS = xjar; then
classpath=".${PS}${swarmclassdir}${PD}swarm${PD}swarm.jar${PS}${JAVACLASSES}${PS}$CLASSPATH"
else
classpath=".${PS}${swarmclassdir}${PS}${JAVACLASSES}${PS}$CLASSPATH"
fi
if test -z "$*"; then
echo "KAFFELIBRARYPATH=\"$KAFFELIBRARYPATH\""
echo "PATH=\"$PATH\""
echo "CLASSPATH=\"$classpath\""
echo "export KAFFELIBRARYPATH PATH CLASSPATH"
elif test -n "$JAVASWARMGDB"; then
(echo "shell rm -f /tmp/.gdbinit.$$";
echo "cd `pwd`"; echo "set args $*" ) >
/tmp/.swarmgdbinit.$$
eval "$JAVAENV CLASSPATH='$classpath' $JAVASWARMGDB
-command /tmp/.swarmgdbinit.$$ $JAVACMD"
rm -f /tmp/.swarmgdbinit.$$
else
eval "$JAVAENV CLASSPATH='$classpath' $JAVACMD $*"
fi
Regards,
David
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- Re: files required, (continued)
- Re: files required, david ROBIN, 2000/01/07
- Re: files required, david ROBIN, 2000/01/08
- Re: files required,
david ROBIN <=
- Re: files required, david ROBIN, 2000/01/10
- Re: files required, david ROBIN, 2000/01/12
- Re: files required, david ROBIN, 2000/01/13
- Re: files required, david ROBIN, 2000/01/13
- Re: files required, david ROBIN, 2000/01/14