ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Jython-users
Jython-users
Re: [Jython-users] .jython file not being picked up
by Andrew other posts by this author
Nov 30 2004 7:07PM messages near this date
#30942 [Opn->Asn]: imageCreateFromPng() gives fatal error | [Jython-users] .jython file not being picked up
Hi John I don't know if this will help I am pretty new to Jython  (I am 
assuming your using Windows)

take a look at jython.bat in your Jython Directory and make sure 
everything is pointing to where it should be example I didn't have Java 
installed to the default Directory so I changed

rem set JAVA_HOME=C:\Java

to point to where Java was as well as

"C:\Java\bin\java.exe" "-Dpython.home=C:\jython-2.1" -classpath 
"C:\jython-2.1\jython.jar;%CLASSPATH%" org.python.util.jython %ARGS%

These values which are located at the bottom

Hope this is what your looking for

Cheers









John.E.Gregg@[...].com wrote:

>  Hi and thanks for the reply, but WLST and jython are working fine, 
>  more or less.  I can create jdbc stuff, jms stuff, etc.  I just can't 
>  get the intepreter to recognize the .jython file in my home dir.  I'm 
>  working from what I read on this page: 
>  http://www.jython.com/docs/registry.html.  It doesn't matter whether I 
>  do "java weblogic.WLST," "java org.python.util.jython," or 
>  "jython.bat."  For what it's worth, the registry file doesn't work, 
>  either.  Nothing I put in there shows up if I do 
>  print(java.lang.System.getProperty('foo')).  The only property 
>  mentioned on the registry doc webpage that has a real value in it is 
>  python.home.
>   
>  thanks
>   
>  john
>   
> 
>      -----Original Message-----
>      *From:* Satya Ghattu [mailto:sghattu@[...].com]
>      *Sent:* Tuesday, November 30, 2004 5:42 AM
>      *To:* John.E.Gregg@[...].com
>      *Cc:* jython-users@[...].net
>      *Subject:* Re: [Jython-users] .jython file not being picked up
> 
>      Hello John,
>      The zip that you download from dev2dev has jython.jar already in
>      it. If you would like to install jython, you should download it
>      from jython.org.
>      To use WLST you do not need a jython installation. Unzip the file
>      and place the wlst.jar and jython.jar in your classpath and invoke
>      java weblogic.WLST.
>      Hope it helps,
>      -satya
> 
>      John.E.Gregg@[...].com wrote:
> 
> >     Hi all,
> >      
> >     I'm new to jython.  I'm using jython 2.1, jdk 1.4.2, and invoking
> >     it with java org.python.util.jython.  My "installation" actually
> >     came from BEA because I'm trying to use their WLST tool.  Jython
> >     doesn't seem to pick up the contents of my .jython file.  I can
> >     do print(java.lang.System.getProperty('user.home')) and see my
> >     home dir, but the contents of user.home/.jython are not visible. 
> >     I restarted jython after creating .jython.
> >      
> >     thanks
> >      
> 
> 
> ------------------------------------------------------------------------
> 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.289 / Virus Database: 265.4.4 - Release Date: 11/30/2004
>   
> 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.4 - Release Date: 11/30/2004



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Jython-users mailing list
Jython-users@[...].net
https://lists.sourceforge.net/lists/listinfo/jython-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved