Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-12-2003, 03:52 PM   #1
Registered: Jun 2003
Posts: 130

Rep: Reputation: 15
Question Do I have Java installed or not?...hmmm


Like most people, I have had a rough time getting Java to work on my RH 9.0 box. I struggled with this for nearly six months and went 'round and 'round until some very kind people on this board told me how I could install an earlier version of Mozilla (locally) and make it work.

Well, several days ago, I downloaded Mozilla 1.3.1 and then went to a site where Java was required, downloaded the plugin when the error message came up and now I am able to run all kinds of Java stuff which really nice for a change and after all the trouble I've had lately (I even got Flash!). I can now run java applets, Java chats, Java games and anything else "Java" but one thing is puzzling me. When I bring up the terminal and type in some commands, it seems that I actually *don't* have Java installed...hmmm...from my terminal...

[hotdog@localhost hotdog]$ which java
/usr/bin/which: no java in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/hotdog/bin)
[hotdog@localhost hotdog]$ java -version
bash: java: command not found
[hotdog@localhost hotdog]$ whereis java
java: /usr/share/java
[hotdog@localhost hotdog]$

What could this mean?. Also, I have looked all over for an "Active Worlds" type 3D world program and have stumbled upon Virtual Universe but it does'nt seem to be able to find Java either. Now that I think about all this I am going to guess that this is because I installed Java (and Mozilla) in my home folder rather than root(?). Should I install the Java plugin in root also?.

Thank's for any help I can get on this from you gurus

Last edited by TippyToes; 08-12-2003 at 03:55 PM.
Old 08-12-2003, 04:25 PM   #2
Senior Member
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
I have a /usr/share/java, /usr/include/java, /usr/lib/java, /usr/bin/java, etc.

Run this:

su -

find / -name 'java' -print

and see what that turns up.
Old 08-12-2003, 08:51 PM   #3
Registered: Jun 2003
Posts: 130

Original Poster
Rep: Reputation: 15
Hey thank's folks. Sorry it took so long for my reply.

First, here is the result of echo $PATH...

[root@localhost hotdog]# echo $PATH
[root@localhost hotdog]#

See, what I'm actually trying to do is get this Virtual Universe ( program to work. Anyone ever use it?. Here is what I see in the file that runs the whole thing (

java -Xms64M -Xmx200M -cp .:data.jar:MainWin.jar MainWin 2>> errlog.txt

I guess these are some of the paths that the program looks for. BTW, the program automatically installs Blackdown Java and Java3D (supposedly) and I su'd into root before installing it but I still can't seem to get the little sucker to run. I know it's a lot to ask but how would it be if someone here, using the information about my Java location(s), re-wrote this "" script for me so that it would work and then just posted it here?. I could then copy it and stick it in the VU folder and try to run it. This might work if none minds doing it...please


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 03:13 AM
tell firefox where java is installed titanium_geek Linux - Software 6 02-09-2005 11:48 PM
Do I or Don't I have Java installed patpawlowski Programming 3 02-24-2004 09:22 PM
java installed, but hangs king_nothingzzz Linux - Software 3 02-18-2004 01:45 AM
I seem to have installed java twice crox Linux - Newbie 4 06-14-2003 05:52 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:36 AM.

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