Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javaw not found on ubuntu

 
Isuru Buddhika
Greenhorn
Posts: 11
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javaw is not found on my ubuntu java installation. What could be the reason?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15369
40
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'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'.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49451
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never knew that!
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49451
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, he got a much better answer here.
 
Isuru Buddhika
Greenhorn
Posts: 11
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5132
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic