This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Cannot find the symbol Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Cannot find the symbol" Watch "Cannot find the symbol" New topic
Author

Cannot find the symbol

Gary Ba
Ranch Hand

Joined: Oct 23, 2009
Posts: 150

Hi Guys,

I have a compile error: Cannot find TestParent

Here is my two simple files.






When I compile Test.java, I cannot find TestParent.class. The Test.class exists though.
Note: the two files are on the same directory.

Thank you for the help guys,
Garry


star chaser..
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308
You miss the keyword class



Bye,
Nicola
Gary Ba
Ranch Hand

Joined: Oct 23, 2009
Posts: 150

do'h...mistake.

Thank you, Nicola!
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308



OK
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Cannot find the symbol
 
Similar Threads
basic test
compile multiple class files
import statements
Help with Package understanding
Design approach for factoring out common logic