469,912 Members | 1,848 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,912 developers. It's quick & easy.

Newb: installing Jython on Windows XP ...

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
3 3906
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
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

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.

Similar topics

3 posts views Thread by Thomas Weholt | last post: by
10 posts views Thread by Randall Smith | last post: by
1 post views Thread by Oten | last post: by
4 posts views Thread by angel | last post: by
reply views Thread by Charles Griswold | last post: by
6 posts views Thread by Mike Wimpe | last post: by
2 posts views Thread by gregarican | last post: by
3 posts views Thread by tac-tics | last post: by
6 posts views Thread by Joe G \(Home\) | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.