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
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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
Bartender

Joined: Aug 16, 2005
Posts: 12950
    
    3

'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
Sheriff

Joined: Oct 13, 2005
Posts: 32830
    
    4
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: 32830
    
    4
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: 4201
    
    3

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: javaw not found on ubuntu
 
Similar Threads
closing the command window on program launch
javaw?
why don't i get the command prompt back when I run my java program from the terminal window?
JAVAW Hell
Java Desktop Application Problem