From: Jim A. <ji...@tr...> - 2001-04-09 21:03:30
|
thp wrote: > > Hello! > I am currently learning Java2 with JBuilder 4 foundation! > Now i want to install Jython2.0,so i can program Python > with Java.But how do i install the Jython stuff,so it can talk > to Jbuilder 4? > And how do you install the packages(from the net) into jbuilder4? > > thanks in advance!! Jython does not really 'talk' to JBuilder: it is a library 'used' by java code that you can build using JBuilder if you want. Using the library is nothing special: First install Jython into any directory (the default is fine). Then in JBuilder's Project Properties, click the 'Required Libraries' tab, then click Add. Select the folder you want the library to appear in, and click 'New...'. Give it a name (Jython), then 'Add', then find the 'jython.jar' and 'OK' your way out. If you want to view/make changes to the source, in the 'Configure Libraries' screen click the 'Source' tab and 'Add' the path to the root of the source: <install-dir>/Jython/org. That's it! Try loading up the sample code and running it: it is all just Java ! -- __o Jim Adrig _ \<,_ ji...@tr... ' `/ ' ` ___________ `-' `-' |