简体   繁体   中英

How to run a java application (eclipse) on command prompt?

I'm new to eclipse, please help!

I have coded a java project on Eclipse which contains many classes. How can I run the application on Windows command prompt. Please give detailed, step by step guidance. I tried searching on this site, but none of them worked for me!

You can export the project as a jar file from the eclipse. follow this link to know about exporting project LINK Run this jar file from the command prompt

java -jar xxx.jar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM