Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-18-2004, 11:24 AM   #1
Registered: Jul 2003
Location: Grand Meadow MN
Distribution: Mandrake 2010.2 & Fedora 14
Posts: 99

Rep: Reputation: 17
Java command not working, plugin does

I am running MDK 10.1 OE, I installed Suns JRE 1.5 & the plugin is working fine. I downloaded Jbidwatcher & have been unable to get it to run. If I double click on the jar file, I am prompted what I want to open the file with. When I open a terminal & type

java -version

I get

bash: java: command not found

no matter which directory I am in or who I am logged in as. When I go to Sun's website & use their link to test the virtual machine it works fine. I can also double click on the control panel script in usr/java/jre1.5.0/bin & it opens up. Any clues? Thanks
Old 12-18-2004, 12:33 PM   #2
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
You will have to set the environment variable's

#locate javac [to see where u have installed java]
[***sample output***] : /opt/j2sdk_nb/j2sdk1.4.2/bin/javac

open the .bashrc file ---> /root/.bashrc (or) ur_home_folder/.bashrc
add the following lines depending on the output of the last command

export PATH


save it and open a ****New terminal****

#echo $PATH [should give u the path to the bin folder u've set ]
#echo $CLASSPATH [should give u the path to the lib folder u've set ]

Last edited by UsualTuxpect; 12-18-2004 at 12:36 PM.
Old 12-19-2004, 03:18 PM   #3
Registered: Jul 2003
Location: Grand Meadow MN
Distribution: Mandrake 2010.2 & Fedora 14
Posts: 99

Original Poster
Rep: Reputation: 17
That did the trick, thanks much.


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
java working, java plugin not provkitir *BSD 3 01-12-2005 05:49 PM
Java plugin for Mozilla is probably there but not working the_rhino Fedora 1 10-29-2004 01:08 PM
Firefox java plugin not working, please help. d3fault Fedora 10 08-06-2004 10:18 AM
java plugin not working luckystrikes7 Linux - Software 3 05-23-2004 08:02 AM
Java plugin Symlink not working? Davin Linux - Software 4 02-07-2004 07:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:09 PM.

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