Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot resolve symbol

807603Dec 28 2007 — edited Dec 28 2007
i'm currently using the textpad ide

all my java files are in one folder

i use java *1.4.2_16*

and these are the codes:

Main.java:
public class Main {

	public static void main(String[] args) {
		HelloWorld hw = new HelloWorld();
	}
}
HelloWorld.java:
public class HelloWorld {

	public HelloWorld() {
	}

	public void disp() {
		System.out.println("Testing");
	}
}
the errors:
C:\Documents and Settings\Administrator\Desktop\test\Main.java:4: cannot resolve symbol
symbol  : class HelloWorld
location: class Main
		HelloWorld hw = new HelloWorld();
                ^
C:\Documents and Settings\Administrator\Desktop\test\Main.java:4: cannot resolve symbol
symbol  : class HelloWorld
location: class Main
		HelloWorld hw = new HelloWorld();
                                    ^
2 errors
help please
thanks! :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 25 2008
Added on Dec 28 2007
2 comments
156 views