Eclipse - Finishing a program

前端 未结 2 1733
孤街浪徒
孤街浪徒 2021-01-29 15:28

I have created a Java program, and now I want to compile it, so I can send it to others to use, etc. How do I do this in Eclipse? I\'ve Googled it, but can\'t find it (O.o). Hop

2条回答
  •  闹比i
    闹比i (楼主)
    2021-01-29 16:24

    You probably need to create an executable Jar file - unless it is a web application. Google "eclipse create executable jar"

    On Windows for System.out.println to work you might need to use java instead of javaw. Please use separate StackOverflow questions for separate questions, and check for duplicate questions before asking.

提交回复
热议问题