File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes java vs javaw Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java vs javaw" Watch "java vs javaw" New topic

java vs javaw

Sondra Colagrossi
Ranch Hand

Joined: Oct 30, 2002
Posts: 68
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

Joined: Dec 03, 2002
Posts: 19
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 =)
Sondra Colagrossi
Ranch Hand

Joined: Oct 30, 2002
Posts: 68
Thanks, Brian
I agree. Here's the link:
subject: java vs javaw
It's not a secret anymore!