473,408 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 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 4124
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 the Jython and Python processes so that the...
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 trying to invoke the jython interpreter I have...
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. Thanx
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 C:\Downloaded Files\Jython>java -cp . jython-21 -o jython-2.1...
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, these toolkits like Tkinter are so much better for...
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 to roll it into the Palm OS platform. Since Pippy...
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 a sign), and then, it's performance and...
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 Windows installer from the sourceforge web...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.