How To Use Java Package In Eclipse

I am beginner of Java.

I want to use Java package here github.com/htorun/dbtableprinter

But I am not sure where I should put the download file.
Using command prompt or eclipse, I want to use the package.

This looks to just be a Java file. So instead of adding it like you would a package, you would just add the DBTablePrinter.java file into your program. Then you should be able to use the static helper methods.

I would probably put this in a “helper” folder. Then you should be able to either import it, or just do “helper/DbTablePrinter.printTable();”

Read more here: Source link