By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,091 Members | 1,546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,091 IT Pros & Developers. It's quick & easy.

Newb: installing Jython on Windows XP ...

P: n/a
All,

I'm having issues installing Jython on Windows XP. I've looked on the
web and this newsgroup but to no avail. Any suggestions? The shell
listing is below:

NB I've got Cygwin installed, hence the Unix 'ls' on a Windows box

C:\>cd Jython

C:\Jython>ls
jython_21.class

C:\Jython>ls "c:\Program Files\Java\jdk1.5.0_09\bin\java.exe"
c:\Program Files\Java\jdk1.5.0_09\bin\java.exe

C:\Jython>"c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" jython_21
Exception in thread "main" java.lang.NoClassDefFoundError: jython_21

C:\Jython>"c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" jython-21
Exception in thread "main" java.lang.NoClassDefFoundError: jython-21

Any help would be of great use!!!

Nov 9 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
donkeyboy wrote:
All,

I'm having issues installing Jython on Windows XP. I've looked on the
web and this newsgroup but to no avail. Any suggestions? The shell
listing is below:

NB I've got Cygwin installed, hence the Unix 'ls' on a Windows box

C:\>cd Jython

C:\Jython>ls
jython_21.class

C:\Jython>ls "c:\Program Files\Java\jdk1.5.0_09\bin\java.exe"
c:\Program Files\Java\jdk1.5.0_09\bin\java.exe

C:\Jython>"c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" jython_21
Exception in thread "main" java.lang.NoClassDefFoundError: jython_21

C:\Jython>"c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" jython-21
Exception in thread "main" java.lang.NoClassDefFoundError: jython-21

Any help would be of great use!!!
Try it from cmd, not from the cygwin shell.
The environments differ !

greets
Marcus

Nov 10 '06 #2

P: n/a
Ant


On 10 Nov, 10:29, Marcus Bajohr <Baj...@hadakon.dewrote:
donkeyboy wrote:
All,
I'm having issues installing Jython on Windows XP. I've looked on the
....
Any help would be of great use!!!
Try it from cmd, not from the cygwin shell.
The environments differ !
Looking at the command prompt, he's not in the cygwin shell. I think
that there's a bug in the latest jre from sun. I installed the 1.5.0_09
update a few days ago, and I can't get any apps to run with it
(including irritatingly the Java Control Panel application so I can't
change the default back easily...) The problems are
NoClassDefFoundError's as well, so I wonder if the class loading is
broken in that release...

Anyway the solution seems to be to use an earlier jre explicitly:

"c:\Program Files\Java\jdk1.5.0_06\bin\java.exe" jython-21

1.5.0_06 seems to work fine for me.

HTH

Nov 10 '06 #3

P: n/a

I haven't installed on cygwin or windows XP myself but you should be
using "java jython-21". Note that there are two class files
"jython-21.class" and "jython_21.class". Also make sure that the
CLASSPATH includes the directory that has these two class files.

Raghu.

donkeyboy wrote:
All,

I'm having issues installing Jython on Windows XP. I've looked on the
web and this newsgroup but to no avail. Any suggestions? The shell
listing is below:

NB I've got Cygwin installed, hence the Unix 'ls' on a Windows box

C:\>cd Jython

C:\Jython>ls
jython_21.class

C:\Jython>ls "c:\Program Files\Java\jdk1.5.0_09\bin\java.exe"
c:\Program Files\Java\jdk1.5.0_09\bin\java.exe

C:\Jython>"c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" jython_21
Exception in thread "main" java.lang.NoClassDefFoundError: jython_21

C:\Jython>"c:\Program Files\Java\jdk1.5.0_09\bin\java.exe" jython-21
Exception in thread "main" java.lang.NoClassDefFoundError: jython-21

Any help would be of great use!!!
Nov 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.