From: dman <ds...@ri...> - 2001-12-31 18:19:39
|
On Mon, Dec 31, 2001 at 12:09:15PM -0600, Steve Cohen wrote: | Is there a way to get the jython installer to make a unix shell script | to launch jython from a cygwin bash shell on Windows 98? I want to have | a real console. Unfortunately, the installer seems to detect that I'm | running Windows and therefore have no need of a shell script, even if I | launch the installer from the cygwin bash. Just make the shell script yourself. I have the following in ~/bin/jython ------- #!/bin/bash if [ "$1" = "--classpath" ] ; then CP="$2" shift 2 fi java3 -Dpython.home="C:\\apps\\jython" -classpath "C:\\apps\\jython\\jython.jar;$CP;$CLASSPATH" org.python.util.jython "$@" ------- I also have a shell script named "java3" that runs java.exe from version 1.3.1 (I also have 1.2.2 and 1.1.8 installed). Adjust the paths to match your installation directories. (also be aware that java is not cygwin-aware and needs win32 paths) -D -- Through love and faithfulness sin is atoned for; through the fear of the Lord a man avoids evil. Proverbs 16:6 |