Thanks for all your kind replies! I've just got back from Manchester a few
minutes ago hence the silence.
And the award for first fix goes to...
Mr Steve Upton:
>Let's start simple and try typing the line below in (you can't cut and
>since windows typically puts a newline in between and screws up the line):
>"c:\j2sdk1.4.1_01\bin\java.exe" "-Dpython.home=C:\Jython" -classpath
This worked straight away. I was intrigued and typed 'credits' but none of
your names came up. Was expecting to see at least a Don Coleman.
The award for permanent fix goes to:
Mr Richard Cook:
>No I meant you want to edit jython.bat (which is the file that gets run
>when you type in jython) and look for where it says javaw.exe and change
>it to java.exe
This sorted out the "Gosh, do I have to type all that in *everytime*!" that
followed Mr Upton's fix. Now I get from the DOS command prompt to the >>>
in one ENTER.
The call for the awarding of a knighthood goes to:
The venerable Don C:
>I've tracked down a Windows 98 machine and I have been able to duplicate
>this problem. The machine is running Win98 SE and JRE 1.4.1_01...
Thank you!!!!! It was very nice of you to go into all that trouble but
thankfully I didn't have to go that far as in following someone's advice
yesterday I extracted jython.jar into almost all my C directories. Er, just
KIDDING! Into at least the
"c:\j2sdk1.4.1_01\bin" and "c:\j2sdk1.4.1_01\jre\bin" ones. Will get rid
of the excess ones asap. Is what happens when you get desperate...
Patrick Bielen said:
> Well no need to say knowledge of dos or linux are really welcome with such
problems :-) maybe a book of dos-batch-programming can learn you some more
Hmmm. Perhaps when I've finished my final year project! I'm an Electronics
undergrad working on a visualisation application (web-enabled if I get that
far!) that combines vtk's 3D rendering of 3D CT scan data (ear shapes and
stuff) with a computation of the acoustic pressure response of the ear.
Should demonstrate the effects of ear shape on the perception sound
I'm hoping Jython will let me cut development time and produce something
Now I only have to work out how to work out how to do it all... but I'll get
there, oh yes!
I thank you all very much,
----- Original Message -----
From: Patrick Bielen <bielen@...>
To: 'Chi-chi Ekweozor' <cce100@...>
Sent: Thursday, March 27, 2003 7:17 AM
Subject: RE: [Jython-users] Newbie problems installing Jython: nearly there!
> Hello Chi-chi,
> > C:\Jython>jython
> > Bad command or file name
> > So I replaced it in both directories. Now I get the old
> > 'quick flash of something' which is a lot more...interesting...
> > Trying not to go 'arrrgggghh!'
> :-))) this are serously newbie-problems :-)
> Bad command or filename means that the bat can't find
> the jython.bat on your system, which usually means
> the path to jython is not set.
> Change your %PATH% in autoexec.bat (if your windows is lower than
> 2000 or XP) or in the system-settings when using 2000 or XP.
> Start - Configuration - system - Advanced - environmentvariables.
> Look for the path variable below and add your python dir.
> Add C:\jython22 to your path, after that start again and
> it will be able to find it. If after that the error still
> remains that means there is something wrong with your
> bat-file and you better can enter the command that is in
> the bat manually on a dos-console to see what the error is.
> Well no need to say knowledge of dos or linux are really
> welcome with such problems :-) maybe a book of dos-batch-
> programming can learn you some more about this.