472,333 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,333 software developers and data experts.

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 4038
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Thomas Weholt | last post by:
Hi, Is it at all possible to use python to make apps on cellular/mobile phones, using something like Jython etc. ? Hm ... ?? Thomas
10
by: Randall Smith | last post by:
I would like to use a type 4 JDBC driver in my Python program. I believe I can use in with Jython. Do you know of some way to communicate between...
1
by: Oten | last post by:
Ok I have looked all over the internet and I can't find what I am doing wrong or how I can do it right I am using windows xp Jython 2.1 I am...
4
by: angel | last post by:
A java runtime environment includes jvm and java class (for example classes.zip in sun jre). Of course jython need jvm,but does it need java class....
0
by: Charles Griswold | last post by:
I'm just starting to learn jython prior to embedding it in a larger lava application. On my first try I get the following message ...
6
by: Mike Wimpe | last post by:
Other than being used to wrap Java classes, what other real use is there for Jython being that Python has many other GUI toolkits available? Also,...
2
by: gregarican | last post by:
I have completed recoding my CRM app into Python so that it will run on Win32, ARM Linux, and ARM Windows Mobile platforms. Now I am looking to try...
3
by: tac-tics | last post by:
I have an application written in jython which has to process a number of records. It runs fine until it gets to about 666 records (and maybe that's...
6
by: Joe G \(Home\) | last post by:
Hi All, Background =================== I have installed Python for windows today from the python web site .I also installed pySerial using the...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.