473,583 Members | 2,875 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 ............jyt hon --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 2038
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 ............jyt hon --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 ............jyt hon --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.i fyouplease.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 ............jyt hon --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
4512
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 has almost all of it public methods Java synchronized: > > http://cvs.sourceforge.net/viewcvs.py/jython/jython/org/python/core/PyStringMap.
6
2104
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 generous enough to make the two languages possible, that, well, they're kinda different. I guess it was inevitable, but with Jython stuck at Python 2.1,...
4
3418
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
12748
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 and specialed classes for particulars databases. Now there are two options - to include exception (subclasses of SQLException) for every db in except...
1
2283
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 mode as shown below:
12
5904
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 says: usage: java fit.FitServer host port socketTicket -v verbose I think this is because I do not understand the jython mechanism for...
3
2562
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 developer site at Sourceforge. However nothing has been released for over a year (i.e. no support for Python 2.3, 2.4 or 2.5). Is seems that IronPython...
3
4141
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, hence the Unix 'ls' on a Windows box C:\>cd Jython
5
3600
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
7888
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7811
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8314
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7922
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8185
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3811
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1416
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.