wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes javaw not found on ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "javaw not found on ubuntu" Watch "javaw not found on ubuntu" New topic

javaw not found on ubuntu

Isuru Buddhika

Joined: Nov 04, 2012
Posts: 11

javaw is not found on my ubuntu java installation. What could be the reason?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

'javaw' is a Windows-only thing. On Ubuntu you just use 'java'.

On Windows, you use 'javaw' instead of 'java' because the latter opens a command prompt window, and sometimes you don't want that. On Ubuntu however, 'java' does not open a terminal window - you don't need a 'javaw'.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38007
I never knew that!
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
typical cross-poster, had his answer 4 hours ago

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38007
Actually, he got a much better answer here.
Isuru Buddhika

Joined: Nov 04, 2012
Posts: 11

I didnt knew it either. And Im not a typical crossposter. I cross posted few question today only because i was in a hurry. I mostly rely on answers on coderanch because I found them complete and understanable. Thank you all for helping me.
Darryl Burke

Joined: May 03, 2008
Posts: 4523

I think what Michael meant by 'typical' is that you didn't inform us about any other posts. See the page on BeForthrightWhenCrossPostingToOtherSites <-- link

Oh, and IMO the 'typical' cross poster cross posts only a few questions, always because they are in a hurry.

luck, db
There are no new questions, but there may be new answers.
subject: javaw not found on ubuntu
Similar Threads
Java Desktop Application Problem
closing the command window on program launch
why don't i get the command prompt back when I run my java program from the terminal window?