The following forum message was posted by gmseed at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4566881:

Hi

I'm working my way thro the Jython book at:

http://www.jython.org/jythonbook/en/1.0/DataTypes.html#lists-dictionaries-sets-a
nd-tuples

and in Listing 2-27 it states:

# Import and use a Java ArrayList
>>> import java.util.ArrayList as ArrayList

This works in the command-line window but does not work in Eclipse and complains
with "Unresolved import".

I'm confused by this as I'm using the Jython interpreter and assumed it has
access to the Java api, as illustrated by how the command-line works.

Thanks

Graham

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to