472,958 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Jython 2.2 on Ubuntu

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

Similar topics

4
by: Michael Chermside | last post by:
Ype writes: > For the namespaces in Jython this 'Python internal thread safety' > is handled by the Java class: > > http://www.jython.org/docs/javadoc/org/python/core/PyStringMap.html > > which...
6
by: Dave Benjamin | last post by:
Hey good people, I've been doing a lot of simultaneous Jython and CPython programming lately, and just wanted to say, with no intended ill will toward any of the individuals who have been...
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
7
by: Jan Gregor | last post by:
Hello I found that jython catches exact java exceptions, not their subclasses. Is there some way to get around this limitation (or error) ? My program has class representing database source...
1
by: scott | last post by:
I installed darwinports and did a "sudo port install jython" ------------------------- scott$ which jython /opt/local/bin/jython ------------------------- Jython works in interactive...
12
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it...
3
by: Sloan.Kohler | last post by:
Is Jython development dead or has it just seemed that way for over a year?. The jython.org website has a recent new appearance (but no new content) and there is some message traffic on the...
3
by: donkeyboy | last post by:
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,...
5
by: sarup26 | last post by:
Hello .. I would like to know more about Python and Jython? What is the difference between both of them? What is the future for Jython and which are the areas where it is used? Swot
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.