I'm using Eclipse on a Mac. I want to write a method that creates a bar chart. To do this I need to use Bar.java
class which I have downloaded and added as an external class folder. When I reference the class in my method it it not recognized. I have had this trouble with other classes in the past.
This is the error I receive:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Bar cannot be resolved to a type
Bar cannot be resolved to a type
at TaxChart.main(TaxChart.java:5)
Bar.java
is in a folder located at /Desktop/class/
I have referenced it using configure build path
and add external class folder
.