A compiled class file needs to be imported in a job, but it cannot be directly used in eclipse. Baidu and Google have been searched for a long time and the results are all junk information! Mom !!! I spent more than an hour in vain. I really don't know why I have to reply to those who don't know why, so I can improve the click rate, so that the Internet is full of garbage !! Contempt !!! Contempt !!!
I believe there will be many Java enthusiasts who will encounter the same problems for beginners. Here I will introduce them in eclipse. The specific steps of the class file, hope to help the same person!
Create a project-> right-click SRC file folder-> config build path-> libiraray-> Add extendal class folder-> import your project. Class file (for eclipse 3.4)
If the user using eclipse3.3 does not add extendal class folder, select Add class folder-> new folder->
Enter Foldername-> right-click FN (the Foldername you created earlier), and import-> to import your. Class File
For myeclipse with 3.4