LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-20-2006, 04:09 PM   #1
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Rep: Reputation: 15
Unhappy Is JRE placed in a file?


I have a Fedora Core 5 OS without internet. I downloaded a ".tar.gz" file for Java Runtime Environment. However, I don't see the usual format for a package. I expect to see a config file and a Makefile file, but there is none. Is there a special folder that I need to put JRE in?
P.S. I know I have Software Development Kit, because I can write a program in other languages.
 
Old 09-20-2006, 04:13 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
jre is precomplied, you don't build it. i think there's an install script that runs through license agreements and then installs it in /opt/ somewhere. there are actually rpm's available at java.sun.com too. note that this is only a runtime environment, you can't WRITE java programs with this. you'd need to j2sdk or similar for that.
 
Old 09-21-2006, 02:34 PM   #3
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
I remember that Java with Microsoft has executible or zip files for SDK and JRE. Is there a certain folder where I'm supposed to put the files? I know that with Windows, I put it in something like C:/Program Files/lib....blah blah blah. Where should I put these files?
 
Old 09-21-2006, 03:08 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
as i said, it contains an install.sh or such which will do the installation for you.
 
Old 09-25-2006, 01:51 PM   #5
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
I don't see any install.h file. Maybe because I have JDK (I just see a jar and bin folder). But what I'm wondering is...what should I do in order to use Java?
 
Old 09-25-2006, 02:08 PM   #6
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
if I remember correctly, you need to run the .bin file. give it executable permissions if it doesn't have it, then run it from the current directory. it displays all the licence agreement gumph, and then installs it for you.
 
Old 09-25-2006, 02:20 PM   #7
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
Alright...thank you.
 
Old 09-26-2006, 01:54 PM   #8
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
Okay, I don't see a config, install, or any other kind of file able to be executed. I just have a jar and a bin folder. What should I do?
 
Old 09-26-2006, 02:25 PM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Can you tell where you downloaded this JRE, its full name, and show the "ls -l *" output when run in the extraction directory ?
 
Old 09-26-2006, 02:36 PM   #10
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
I downloaded the file j2re-1_4_2_12-linux-i586.bin from https://sdlc3b.sun.com/ECom/EComActi...2B9BB4CECDC736. Should I have selected the self-extracting file?
Oh, and when I do ls, I just come up with a bin and a jar file, and I think a license agreement.
Again, thank you for helping me...I would probably go back to Windows if it wasn't for this site (Just kidding...I think).
 
Old 09-26-2006, 02:42 PM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by Tux-O-Matic
I downloaded the file j2re-1_4_2_12-linux-i586.bin from https://sdlc3b.sun.com/ECom/EComActi...2B9BB4CECDC736.
Your initial question was talking about a tar.gz file.
Quote:
Should I have selected the self-extracting file?
This is the self extracting file.
Quote:
Oh, and when I do ls, I just come up with a bin and a jar file, and I think a license agreement.
My request was for this command to be run, and its output posted.
Code:
ls -l *
Quote:
Again, thank you for helping me...I would probably go back to Windows if it wasn't for this site (Just kidding...I think).
You're welcome

By the way, what do you want to do with this JRE ? i.e. why did you downloaded it ?
 
Old 09-26-2006, 02:45 PM   #12
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
Okay, I'm not next to the computer right now, and I thought you told me to tell you the URL and file name . I'll be more specific as soon as I can.
Oh, and I originally had a ".tar.gz" file because I had trouble with ".bin" files, but now I'm using a ".bin" file.
 
Old 09-26-2006, 02:52 PM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Well, the .bin files are simply meant to be run, and, as you didn't selected the packaged version (rpm), that's it.
You have the JRE installed under the current directory.
 
Old 09-27-2006, 04:15 PM   #14
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
This is close to the output that I get:
bin lib LICENSE README RELEASE_NOTES

Last edited by Tux-O-Matic; 09-27-2006 at 04:16 PM.
 
Old 09-27-2006, 07:40 PM   #15
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
why dont you make this easy on yourself by using an official rpm?

you can get the rpm, or a current installer along with detailed instructions here:

http://java.com/en/download/manual.jsp
 
  


Reply

Tags
java, jre


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 2 JRE RPM bin file execution linux101 Linux - Newbie 3 09-20-2006 04:51 PM
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 06:34 PM
Java JRE merchtemeagle Linux - Newbie 3 10-15-2004 01:38 PM
Jre inescapeableus Linux - Newbie 3 04-18-2004 10:04 PM
JRE Install GiveItAShot Linux - Software 1 03-18-2003 11:55 AM


All times are GMT -5. The time now is 12:49 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