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

Jython 2.2 on Ubuntu

P: n/a
Hi all,

I am a novice Python/Jython programmer, and Ubuntu user.

Ubuntu still only supports only version 2.1 of Jython. I have used the
GUI installer of Jython 2.2, and installed it to the default
/root/jython2.2 directory. The install went without issues.

However, typing ............jython --version
in a teminal still gives me ........ Jython 2.1 on java (JIT: null)

What else do I need to do?

regards
Neil.

p.s. I posted this to the jython group hosted by sourceforge, but it
bounced. :-(
Aug 28 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
you need to ensure that the correct jython executable is in a directory
which is on your on your path.

I've just successfully test-subscribed to
https://lists.sourceforge.net/lists/...o/jython-users. Maybe you
could try again.

Tim

Dr Tim Couper
CTO, SciVisum Ltd

www.scivisum.com

Neil Wallace wrote:
Hi all,

I am a novice Python/Jython programmer, and Ubuntu user.

Ubuntu still only supports only version 2.1 of Jython. I have used the
GUI installer of Jython 2.2, and installed it to the default
/root/jython2.2 directory. The install went without issues.

However, typing ............jython --version
in a teminal still gives me ........ Jython 2.1 on java (JIT: null)

What else do I need to do?

regards
Neil.

p.s. I posted this to the jython group hosted by sourceforge, but it
bounced. :-(
Aug 28 '07 #2

P: n/a
In message <-Y*********************@bt.com>, Neil Wallace wrote:
I have used the
GUI installer of Jython 2.2, and installed it to the default
/root/jython2.2 directory.
You do realize that /root is the home directory of the root user, normally
off-limits to normal users?

Usually if you're installing your own packages, you would put them
in /usr/local or /opt.

Aug 29 '07 #3

P: n/a
Thanks Tim,

I subscribed to the Jython group hosted by sourceforge, and they are a
great bunch of guys/gals.

Here's what I did to fix my problem.

1. removed Jython 2.1 (using Synaptic)jytho
2. added the following lines (as root) to /etc/profile
# set PATH for Jython
PATH=$PATH:/home/neil/jython2.2
export PATH

I had to restart X, that's it solved!!

Neil
Tim Couper wrote:
you need to ensure that the correct jython executable is in a directory
which is on your on your path.

I've just successfully test-subscribed to
https://lists.sourceforge.net/lists/...o/jython-users. Maybe you
could try again.

Tim

Dr Tim Couper
CTO, SciVisum Ltd

www.scivisum.com

Neil Wallace wrote:
>Hi all,

I am a novice Python/Jython programmer, and Ubuntu user.

Ubuntu still only supports only version 2.1 of Jython. I have used the
GUI installer of Jython 2.2, and installed it to the default
/root/jython2.2 directory. The install went without issues.

However, typing ............jython --version
in a teminal still gives me ........ Jython 2.1 on java (JIT: null)

What else do I need to do?

regards
Neil.

p.s. I posted this to the jython group hosted by sourceforge, but it
bounced. :-(
Aug 29 '07 #4

P: n/a
On Aug 29, 10:50 pm, Neil Wallace <nos...@myisp.ifyouplease.com>
wrote:
Thanks Tim,

I subscribed to the Jython group hosted by sourceforge, and they are a
great bunch of guys/gals.

Here's what I did to fix my problem.

1. removed Jython 2.1 (using Synaptic)jytho
2. added the following lines (as root) to /etc/profile
# set PATH for Jython
PATH=$PATH:/home/neil/jython2.2
export PATH

I had to restart X, that's it solved!!

Neil

Tim Couper wrote:
you need to ensure that the correct jython executable is in a directory
which is on your on your path.
I've just successfully test-subscribed to
https://lists.sourceforge.net/lists/...o/jython-users. Maybe you
could try again.
Tim
Dr Tim Couper
CTO, SciVisum Ltd
www.scivisum.com
Neil Wallace wrote:
Hi all,
I am a novice Python/Jython programmer, and Ubuntu user.
Ubuntu still only supports only version 2.1 of Jython. I have used the
GUI installer of Jython 2.2, and installed it to the default
/root/jython2.2 directory. The install went without issues.
However, typing ............jython --version
in a teminal still gives me ........ Jython 2.1 on java (JIT: null)
What else do I need to do?
regards
Neil.
p.s. I posted this to the jython group hosted by sourceforge, but it
bounced. :-(- Hide quoted text -

- Show quoted text -
you can use eclipse + pydev
it is very easy to setup jython or python

Aug 30 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.