Searching for imports
posted 9 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
What's the best way to go about searching for imports?
I want to find imports so I can try to make a program that takes a screen shot with my webcam, but all of the google results don't work.
I want to find imports so I can try to make a program that takes a screen shot with my webcam, but all of the google results don't work.
Jeremy Hutto
Greenhorn
Posts: 24
posted 9 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
just updating, I found this https://github.com/sarxos/webcam-capture/blob/master/README.md
and now I realize I have to get it on eclipse somehow
and now I realize I have to get it on eclipse somehow
posted 9 years ago
Are you asking about where to find packages and classes written in java that do a specific job? The common way is to do a search on the internet.
Once the package/classes are found, they need to be placed on the classpath so the compiler can find them.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
searching for imports
Are you asking about where to find packages and classes written in java that do a specific job? The common way is to do a search on the internet.
Once the package/classes are found, they need to be placed on the classpath so the compiler can find them.
Jeremy Hutto
Greenhorn
Posts: 24
posted 9 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
well I thought that the import com.github.sarxos.webcam.Webcam; wasn't working at first, but then I realized I have to get it on eclipse.
trying to figure that out atm
trying to figure that out atm
Norm Radder
Rancher
Posts: 5146
38
posted 9 years ago
It varies from version to version, but basically (on my copy) ... right click on the project --> properties --> Java build path --> libraries --> add external jar file. Once the jar file is added, then the import should resolve correctly.
Henry
-
1 -
-
Number of slices to send:Optional 'thank-you' note:
-
-
Jeremy Hutto wrote:well I thought that the import com.github.sarxos.webcam.Webcam; wasn't working at first, but then I realized I have to get it on eclipse.
trying to figure that out atm
It varies from version to version, but basically (on my copy) ... right click on the project --> properties --> Java build path --> libraries --> add external jar file. Once the jar file is added, then the import should resolve correctly.
Henry
Jeremy Hutto
Greenhorn
Posts: 24
posted 9 years ago
should I have posted this in a different thread?
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Norm Radder wrote:Do you have a java programming question?
Or is this a question about how to setup your eclipse IDE?
should I have posted this in a different thread?
posted 9 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
No. Somebody has already duplicated this discussion in the IDEs forum, so there is no need for you to do anything.Jeremy Hutto wrote:. . . should I have posted this in a different thread?
| Have you no shame? Have you no decency? Have you no tiny ad? The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |








