Well, that period in between the word "package" and the "insy" doesn't belong there. The second error may just be the result of the first. Note that the "package" line has to be the first non-comment line in the file, and the "import" lines have to come after any package line, but before anything else. For example
is a valid file with one of each.
Note, by the way, that if your class is in the insy.java package, you should not and need not import any other classes in that same package; they're available by default.