Hello All,
New to
Java and trying very hard... but not making much progress..
I am trying to import a package. The code is ....
import package com.javaranch.common.*;
My class file is in "E:\java\Myjava"
and the package is stored in "E:\java\Myjava\com\javaranch\common"
I have double checked my classpath and the spelling,etc, and the import statement is the first line in my source file.
When I try to compile, I get two errors:
"<identifier> expected" and " '.' expected "
Any help would be greatly appreciated.
Thx in advance
Herbie