How do I build a Java project in Eclipse, to create an external JAR

File -> Export -> Export JAR File. Then select your project, press next twice, select the main class.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

If you just want to run, open the main class and click the green arrow at the top.

enter image description here

If you just want to build class files, I believe that Eclipse automatically builds every time you save. You need to select Project -> Build Automatically

enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)