Skip to Content

avec jython

  1. # ajustement du CLASSPATH
  2. export CLASSPATH=`/.../jython2.5.2/bin/geoscript-classpath`
  3. $ jython
  4. Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
  5. [Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_24
  6. Type "help", "copyright", "credits" or "license" for more information.
  7. >>> import geoscript
  8. >>>
  9.  
  10. # si vous ne le faites pas
  11. $ jython
  12. Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
  13. [Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_24
  14. Type "help", "copyright", "credits" or "license" for more information.
  15. >>> import geoscript
  16. Error: Could not find GeoTools libraries on classpath.