LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-12-2003, 02:52 PM   #1
TippyToes
Member
 
Registered: Jun 2003
Posts: 130

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


Hi

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 02:55 PM.
 
Old 08-12-2003, 03:25 PM   #2
itsjustme
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 -
(password)

find / -name 'java' -print

and see what that turns up.
 
Old 08-12-2003, 07:51 PM   #3
TippyToes
Member
 
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
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/hotdog/bin
[root@localhost hotdog]#

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

PATH=/usr/local/java/jre1.4.1_01/bin:/usr/java/j2re1.4.1_01/bin:/usr/local/java/jre1.4.1_01/lib:/usr/java/j2re1.4.1_01/lib:$PATH
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 "start.sh" 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
 
  


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 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 02:13 AM
tell firefox where java is installed titanium_geek Linux - Software 6 02-09-2005 10:48 PM
Do I or Don't I have Java installed patpawlowski Programming 3 02-24-2004 08:22 PM
java installed, but hangs king_nothingzzz Linux - Software 3 02-18-2004 12:45 AM
I seem to have installed java twice crox Linux - Newbie 4 06-14-2003 04:52 PM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration