Bookmark Topic Watch Topic
  • New Topic

How do I get my output to pause on the screen so I can view it?  RSS feed

 
Dj Driver
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
I downloaded Notepad++, thank you for the suggestion.

I wrote my first code that I run from the command line:

public class MyFirstApp {

public static void main (String[] args) {
System.out.printIn("I Rule!");
System.out.printIn("The World");
}
}

and a command prompt opens and then closes. What do I need to add, or do, to get that command prompt to stay open so I can view my code?

Thank you
 
fred rosenberger
lowercase baba
Bartender
Posts: 12564
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
personally, I would run it from the command line, not from in notepad++.
 
Dj Driver
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
I wrote the code in Notepad++ and saved the file. I then tried to run it from the command line (not from Notepad++) and the box opens and closes. Please help.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12564
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm going to close this topic, since it seems to be the exact same discussion as what is going on over here
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!