hi,
i just wrote my first java program, it compiles and runs and all, but the console window closes too quickly u can hardly see the output.
how can i rectify that?
NewToJava
0
Newbie Poster
Recommended Answers
Jump to PostWhich OS are you in?
Jump to PostNot sure what the problem is, but you could try sending the output to a text file to view it in Notepad. Normally to run a java class file you would type something like
java myProgram
Try
java myProgram > output.txt
That will create …
All 6 Replies
darkagn
315
Veteran Poster
Featured Poster
NewToJava
0
Newbie Poster
darkagn
315
Veteran Poster
Featured Poster
NewToJava
0
Newbie Poster
vinod_javas
65
Practically a Posting Shark
Fungus1487
55
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.