java - System.out.println terminated -
i'm still new java , i'm not understanding termination error coming from. system.out.println in main not being printed out , says:
< terminated, exit value: 0> c:\program files\java\jre1.8.0_71\bin\javaw.exe (jan 27, 2016, 1:22:17 pm)
here main of code.
public class braincenter { public static void main(string[] args) { system.out.println("welcome stock center!"); system.out.println("realtime reports within stock market"); system.out.println(""); market mk = new market(6000); mk.printmarket(); system.out.println("individual status listed below"); system.out.println(""); buyers bu = new buyers(); bu.buildrandomportfolio(mk); } } the first 3 lines not being outputted , i'm not sure why. appears rest of code loads disappear , said terminated @ end. i'm using eclipse ide. appreciated. thank in advance!
try use java.exe instead of javaw.exe. first wait until program completes. put output program generates directly in console. last should used when program runs own gui or in background. not wait until program completes.
Comments
Post a Comment