• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

launching the console, getting started

 
arvi jeffery
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm a real rookie with Java. I just downloaded java from the sun site. I performed the test and it gave me a good response. I'm on windows vista. How do I now launch the java console to get started? Thanks, Arv
 
fred rosenberger
lowercase baba
Bartender
Posts: 12186
34
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
don't have vista, but on xp you go to start-->run, then type "cmd". that's it.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, specifically, are you trying to accomplish, and what are you describing when you say 'java console'?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49796
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

Try going to "all programs" "accessories" (??"system tools") "command prompt", right-drag that onto the desktop and click "create shortcut". If you try java -version and javac -version, do you get a sensible output with 1.6.**** in or do you get error messages?
 
arvi jeffery
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all. I got to a "dos window" and typed in "java". It came back with Usage: java [-options], etc.
I want a Java GUI to come up. How do I launch a Java GUI that allows me to write and run Java code?
Thanks
 
fred rosenberger
lowercase baba
Bartender
Posts: 12186
34
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by a "java GUI"? If you mean some kind of integrated development environment (commonly known as an IDE), I would recommend you DON'T use one. Use any plain old text editor. Notepad works just fine, as long as you make sure you don't save it as a .txt file.

Almost everyone here would recommend that beginners do all their coding that way. Using an IDE hides a log of the workings from you. It's much better to understand what's going on first by doing it the 'hard way', so that in the future, when you have problems (and you will), you know whats going on.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic