Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java vs javaw

 
Sondra Colagrossi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working through Sun's XML tutorial with eclipse. I'm hoping to build my skillset on both. When I run my echo program it looks like eclipse is using javaw and not java.
Is this a windows version?
I look at the tools description from Sun with my JDK and they don't mention javaw.
 
Brian McCallister
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javaw is a version of the java launcher for windows that does not open a console window for the application.
For instance, if you shortcut to start the app and use java MyApp it will open a console window that will receive standard out, if you use javaw MyApp it won't open a console window.
I don't know about changing Eclipse's default launcher - am a gvim/IDEA user =)
-Brian
 
Sondra Colagrossi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Brian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic