In BeanShell, certain imports are already done for you as shown in the following list:
By default, common Java core and extension packages are imported for you. They are, in the order in which they are imported:
So, you will need to import anything over and above what is shown in the above list.