LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-11-2005, 07:14 AM   #1
hanasi
Member
 
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85

Rep: Reputation: 15
Java v1.5 -- installing/finding/using


I need to use a specific program under JVM v1.5.x, Because I found (on my SUSE v9.3 installation) only directories java-1.4.2-sun-1.4.2.06 (and -.08), I undeerstood that these are the only JVMs available, and downloaded jre-1_5_0-linux-i586-rpm.bin from the Sun site. I extracted the RPM file from it and attempted to run RPM on the result, following which the system informed me the "jre-1.5.0_04-fcs is already installed". (what, by the way, is the meaning of "fcs"?)

I am a newcomer to SUSE and to Linux, and am still flummoxed by many things in this OS. I have tried for most of today to find where this directory resides, and have dispaired.

I have read the man pages for <find>, but have not been able get this command to perform for me. For example, <find java* -iwholename> , which I thought would get me the path, tells me that there is no file or directory that fints the pattern. Since this is nonxense, I have misunderstood profoundly.

I assume that after I find the directory, I will need to make a symbolic link to the executable so that I can call it and point it to the application.. I have not tried to make a symbolic link yet, but am hoping that there is a clear explanation in man or info pages that will tell me how to do this, and how to be sure that I am calling java from the v1.5.0 directory.
 
Old 08-11-2005, 05:03 PM   #2
oblivious69
Member
 
Registered: May 2005
Distribution: debian
Posts: 79

Rep: Reputation: 15
the quickest way might be to use the locate command. Log in as root and run "updatedb" which will update a database somewhere with all the files on your machine. Then run something like "locate java" to find files with java in its name. Maybe you'll notice multiple java directories.
 
Old 08-11-2005, 10:16 PM   #3
hanasi
Member
 
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by oblivious69
the quickest way might be to use the locate command. Log in as root and run "updatedb" which will update a database somewhere with all the files on your machine. Then run something like "locate java" to find files with java in its name. Maybe you'll notice multiple java directories.

Many thanks!!
 
Old 08-11-2005, 11:26 PM   #4
hanasi
Member
 
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by oblivious69
the quickest way might be to use the locate command. Log in as root and run "updatedb" which will update a database somewhere with all the files on your machine. Then run something like "locate java" to find files with java in its name. Maybe you'll notice multiple java directories.

Unfortunately, SUSE here thinks that there is no such command as <updatedb>. The same is true of <locate>. For that matter, there is no man page for updatedb, although there is an info page listing the available options. That such information is missing is extremely off-putting, and this is not the first time I have seen it. Linux is not the kind of OS that one can step up to and operate it without a lot of documentation; if the writers of the documentation want to keep Linux safe from outsiders, they are on the right track.

On a more practical level: Evidently <update> and <locate>, as important as they are, are not installed by default. What do I have to do to install them?
 
Old 08-12-2005, 08:20 AM   #5
oblivious69
Member
 
Registered: May 2005
Distribution: debian
Posts: 79

Rep: Reputation: 15
Looks like in Suse its part of the findutils package. Look at the link below. It shows the rpm that you need to install for it.

http://www.novell.com/products/linux...ls-locate.html
 
Old 08-12-2005, 08:47 AM   #6
PerfectReign
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Rep: Reputation: 33
I have JDK 1.5.0_03 installed.

Make sure you add one of the online YaST repositories, and you should be able to get it.

I have it on my online:

http://suse.cs.utah.edu/suse/i386/current

which is located here:

http://suse.cs.utah.edu/suse/i386/9....3-0.1.i586.rpm



In addition, I downloaded the 1.5.0_04 JDK RPM from Sun and installed that.

HTH!
 
  


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
Help finding a Java editor/compiler MojoRising Programming 10 12-01-2004 09:16 PM
edonkey java gui not finding java Sephiroth Linux - Software 0 03-13-2004 08:14 PM
Need Help Finding Java Virtual Machine! pmorkert Linux - Newbie 0 07-29-2003 09:19 PM
finding java path? pyropenguin Linux - Newbie 2 09-19-2002 01:02 PM
finding java path? pyropenguin Linux - Software 2 09-15-2002 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:02 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
Open Source Consulting | Domain Registration