As a general rule of thumb, you should just add jython.jar to the list of jar files and you should be good to go.

If you want to look at/play with the jython code, just have a new (completely independent) project for jython.

I hope you are using something like NetBeans/Eclipse.


On Fri, Mar 12, 2010 at 5:19 AM, Kenny Shen <littlemog@gmail.com> wrote:
Hi Nicholas,

I think I figured the problem, the book did meant org.jython but it was pointing to a bunch of user created classes that was supposed to be organized as org/jython/... and added to the classpath.

This wasn't really clear in the book though, the 'jump' assumed of the reader from Chapter 10 was a big one, especially for someone like me who has close to zero exposure to Java. I spent quite a while with the Sun tutorials before it made sense.

Thanks,
Kenny


On Fri, Mar 12, 2010 at 1:27 PM, Nicholas Riley <njriley@illinois.edu> wrote:
In article <b0e48f801003111929p39cf3dl3776ef7be08ade92@mail.gmail.com>,
 Kenny Shen <littlemog@gmail.com> wrote:

> At risk of asking a totally noob question, how would I get jython into the
> picture?

Jython's classes are in org.python, not org.jython.  If the book
mentions the latter, it may be a mistake.
--
Nicholas Riley <njriley@illinois.edu>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users



--
-
"A mental model is good. I change mine all the time."

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users




--
Santosh Tiwari
tiwaris@gmail.com