Guest User

Untitled

a guest
Apr 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. @echo off
  2.  
  3. "%JAVA_HOME%binjava" -Xmx1024M -classpath ".;c:ProjectsJython2.5.1jython.jar" org.python.util.jython
  4.  
  5. Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
  6. [Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_10
  7. Type "help", "copyright", "credits" or "license" for more information.
  8. >>> import javax.swing
  9. Traceback (most recent call last):
  10. File "<stdin>", line 1, in <module>
  11. ImportError: No module named swing
  12. >>> import javax
  13. >>> dir(javax)
  14. ['__name__']
  15. >>>
  16.  
  17. from javax.swing import JFrame
  18.  
  19. java -jar jython.jar
Add Comment
Please, Sign In to add comment