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. :-( 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. :-(
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.
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. :-(
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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.
|
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,...
|
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
|
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...
|
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:
| |
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...
|
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...
|
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
|
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
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |