Eclipse Jython Installation guide



Yüklə 13,39 Kb.
tarix07.11.2018
ölçüsü13,39 Kb.
#78875

Eclipse Jython Installation guide


  1. Install eclipse

  2. While in eclipse click the help tab, select “Install New software”

  3. In the work with bar type “http://pydev.org/updates” then follow the installation wizard process

  4. Restart the IDE as prompted

  5. Then in eclipse, click the “Window” tab and then click “preferences”

  6. In the navigation bar type “Jython” to quickly find the “Jython Interpreter” tab

  7. When in this tab, select new, and give the interpreter a good name like “Jython 2.7” or whichever version you are now using

  8. Then click browse and navigate to the jython.jar file and click OK

    1. Note: Jython must have been previously downloaded at this point

  9. To import additional jar files such as game API’s to a given project, right click that project and select “Import”

  10. Then navigate to the folder containing the .jar files you would like to add and click next

  11. In the next window, check all desired .jar files and click finish

  12. Finally, right click the project and select “Properties”

  13. In the PyDev-PYTHONPATH tab click “Add zip/jar/edd” and select the desired .jar files

  14. Select OK and the .jar files should be added to the project ready for use

    1. Note: Eclipse often takes a moment before it recognizes the new libraries or python in general. To adequately test if you have set this up correctly, simply run one of the demos/todos

  15. Before running the program, go to “run configurations…” under the run button. Click “Arguments” and under VM arguments, type:

-Dpython.console.encoding=UTF-8

Note: This is also the solution if you are getting this error message:



“console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.”
Yüklə 13,39 Kb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə