I am trying to run a simple Hello World program on Eclipse IDE - Version: 2020-03 (4.15.0)
Build id: 20200313-1211
and it gives a Terminated
message on console followed by the desired output. I am using java 11.0.7 2020-04-14 LTS
on Ubuntu 20.04 LTS
.
Code:
package miscellaneous;
public class Test {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
Output:
<Terminated> Test[Java Application] /usr/lib/jvm/jdk-11.0.7/bin/java
Hello World!
How do I not display the terminated message on the console?
I have already gone through this post: