I have a question about adding folder/jars/libraries to a project in eclipse.
Let’s say i download a folder off the internet which has libraries, do I add it as a folder, external jar or a class folder ?
Either way, I added it and it is now part of the libraries available, but I still get an error in my program saying the class is not available.
I then tried to modify $CLASSPATH to where the folders are sitting and I’m still getting errors.
What am I doing wrong ?
After adding all the JARs , try pressing Ctrl + Shift + O (as in Orange). This should re-organize the Imports and try to add any missing ones.
For example, go to excelToText.java and press Ctrl + Shift + O OR Click Source -> Organize Imports like so :
Then when you Save the file ( File -> Save) do you see the Errors disappear ?
See this video to take a look at how this works.