LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2003, 05:52 PM   #1
inteliblake
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
java: command not found


I have installed java via all their different versions and I am still not getting this required command. When I type java, just get, java: command not found. Any idea on how to fix this? Java installed it self into /usr/java/... but no command
 
Old 10-10-2003, 06:46 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You have to add the java bin directory to your path. Search these forums - the question seems to pop up once a day.

hw
 
Old 10-10-2003, 06:51 PM   #3
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
mine does the same when I type in java.
so that is not a problem - mine works fine.

Did the installation go without any problems?
 
Old 10-10-2003, 07:05 PM   #4
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
ALSO does Java show in your browser extensions ?

NB you may find the answer in one of the many Java related threads already in the forum - run a search - particularly something like -
link java
if you did not link the files yet.
 
Old 10-10-2003, 08:56 PM   #5
simplico
Member
 
Registered: Jul 2003
Location: Orlando, FL
Distribution: mandrake 10
Posts: 62

Rep: Reputation: 15
here is a simple way to fix ur java problem.

use any text editor and go to your home folder, e.g, /home/*blake*
and open a file by the name .bash_profile

add :/usr/java/j2sdk1.4.2_01/bin at the end of ur $PATH variable (make sure to change the path i used to fit the location of your java bin directory).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about java command not found bbmak Linux - Software 3 10-02-2005 01:23 PM
java command not found???? haora Linux - Newbie 3 03-30-2005 10:27 AM
java:command not found allendefall Linux - Software 1 12-24-2004 01:57 AM
command java not found?! weeboab Linux - Software 15 08-24-2003 06:52 AM
java command - "bash: java: command not found" ??? RedHat123 Programming 2 07-16-2002 11:09 PM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration