File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "javaw not found on ubuntu" Watch "javaw not found on ubuntu" New topic
Author

javaw not found on ubuntu

Isuru Buddhika
Greenhorn

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: 14420
    
  23

'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 8 API documentation
Campbell Ritchie
Sheriff

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

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

http://stackoverflow.com/questions/14331406/why-javaw-is-not-found-on-my-java-installation-on-ubuntu
Campbell Ritchie
Sheriff

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

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
Bartender

Joined: May 03, 2008
Posts: 4664
    
    5

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.
 
wood burning stoves
 
subject: javaw not found on ubuntu