![]() |
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. |
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.
|
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?
|
as i said, it contains an install.sh or such which will do the installation for you.
|
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?
|
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.
|
Alright...thank you.
|
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?
|
Can you tell where you downloaded this JRE, its full name, and show the "ls -l *" output when run in the extraction directory ?
|
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). |
Quote:
Quote:
Quote:
Code:
ls -l *Quote:
By the way, what do you want to do with this JRE ? i.e. why did you downloaded it ? |
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. |
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. |
This is close to the output that I get:
bin lib LICENSE README RELEASE_NOTES |
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 10:00 AM. |