LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is JRE placed in a file? (http://www.linuxquestions.org/questions/linux-software-2/is-jre-placed-in-a-file-485411/)

Tux-O-Matic 09-20-2006 05:09 PM

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?:confused:
P.S. I know I have Software Development Kit, because I can write a program in other languages.

acid_kewpie 09-20-2006 05:13 PM

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.

Tux-O-Matic 09-21-2006 03:34 PM

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?

acid_kewpie 09-21-2006 04:08 PM

as i said, it contains an install.sh or such which will do the installation for you.

Tux-O-Matic 09-25-2006 02:51 PM

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?

pwc101 09-25-2006 03:08 PM

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.

Tux-O-Matic 09-25-2006 03:20 PM

Alright...thank you.

Tux-O-Matic 09-26-2006 02:54 PM

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?

jlliagre 09-26-2006 03:25 PM

Can you tell where you downloaded this JRE, its full name, and show the "ls -l *" output when run in the extraction directory ?

Tux-O-Matic 09-26-2006 03:36 PM

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).

jlliagre 09-26-2006 03:42 PM

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 ?

Tux-O-Matic 09-26-2006 03:45 PM

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.

jlliagre 09-26-2006 03:52 PM

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.

Tux-O-Matic 09-27-2006 05:15 PM

This is close to the output that I get:
bin lib LICENSE README RELEASE_NOTES

Kahless 09-27-2006 08:40 PM

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


All times are GMT -5. The time now is 03:16 PM.