JPython
|
InstallationJPython is distributed as a self-extracting .class file created by InstallShield - Java Edition. To install JPython, open the command line to the directory in which you have placed the JPython103.class file and then type:
You will probably type one of the following three lines, depending on your system. Note that the class name does NOT end with ".class":
After completing installation, you should be able to run JPython by typing:
What Can Go WrongYou should check out this section if your JPython installation doesn't quite work right. It will contain tips for solving the most common problems. Can't Access Standard Python ModulesJPython only comes with a small collection of the standard Python modules. This is both due to some legal issues as well as the fact that much of the functionality of these modules is duplicated by Java packages. If you want to use parts standard Python library that are not included with JPython, you have two choices:
Other ProblemsAny other problems with the installation should be reported to jpython@python.org. The installer has been modified so that JPython is now responsible for generating the appropriate launch script for each platform. The good news is that we're no longer dependant on InstallShield for fixing platform specific bugs (they don't seem to care at all about AIX, IRIX, Linux, or Mac). The bad news is that I'm now dependant on you to report any problems with the installer so that they can be fixed. Platform Specific NotesIf all else fails, you might find that your problem is unique to your platform, and has a solution mentioned on the Platform Specific Information page. |