The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
unable to find a root hard disk DorrSmith SCO 1 07-16-2008 09:34 AM
unable to use command line to cd or ls bosh UNIX for Dummies Questions & Answers 3 03-08-2008 08:42 AM
Unable to use 'su' command on FreeBSD6.2 Praveen_218 BSD 3 02-28-2008 02:45 AM
Unable to find FEATURE(`msp',`[127.0.0.1]')dnl in submit.cf chrisanto_2000 SUN Solaris 0 09-04-2007 02:37 AM
UNable to find ping command swepaul UNIX for Dummies Questions & Answers 3 05-30-2005 02:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-05-2009
Ashok_oct22
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Unable to find java command

Hi All,

Am trying to start a server by using the startup shell script. But am getting java command not found. Can anyone guide me in which path i need to check for all the java commands and also how do i chk the version of java being installed on linux box?

Thanks
  #2 (permalink)  
Old 01-05-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,788
Which distro? On Debian (and derivates) try aptitude search java, on Gentoo emerge -s java, on openSuSE try zypper search java
Those should show you if Java is installed, and which version.
  #3 (permalink)  
Old 01-06-2009
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
check the directory /usr/bin/ for java commands such as javac, java

this would tell you the version of java compiler that you have:
Code:
javac -v
  #4 (permalink)  
Old 01-06-2009
Ashok_oct22
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Thanks a lot.
Sponsored Links
Closed Thread

Bookmarks

Tags
java

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0