From: vitaly k. <try...@ya...> - 2001-03-10 17:02:00
|
> so I've got these packages, and I want to import > classes from them. how do > i manage this? Your CLASSPATH has to have your .jar included, i.e. /whereverIkeepMyJavaClasses:/mystuff/myjavajars/TAgents.jar:whateverelse (the directories (and jars) are separated by ":"). If "jython" you type when you invoke jython is a shell script or a batch file you can set your CLASSPATH as a command line option. Then type "from org.tagents.examples import org.tagents.agents.*" at the prompt. Now my super newbie question, again (no responses last time). How do I get jython on Linux to remember the history of my commands and recall them with an "up" arrow key? My bash and ksh shells do it, and python does it too. Is there a history file I need to set up somewhere? Thanks Vitaly __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ |