LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2004, 08:08 PM   #1
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Rep: Reputation: 15
java j2re . bin


So I saved the download of j2re-1_4_2_03-linux-i586.bin to
file:/home/jeremy/Documents.....so question is can someone help step by step to get this installed and working on browser? Or to whatever i need to do with this,basicaly i just wanted to be able to chat, I get the error java executible not found so i am guessing this is what i need?
 
Old 02-07-2004, 08:17 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
here is a very good step by step

any more questions, dont' hesitate to ask ...
 
Old 02-07-2004, 08:35 PM   #3
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
ok thats starting in the right direction,but i am totaly new and do not know how to make the java sub directory or anything
 
Old 02-07-2004, 09:08 PM   #4
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
sorry , just really new at this, should i download the file to any in particular?
 
Old 02-07-2004, 09:25 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
open a terminal and i'll explain the rest ....

Quote:
First, create (as root) a "java" subdirectory in the /usr directory.
ok first it states "as root" so you will type :
su -
and then your root password to be logged as root
then it says create the subdirectory "java" in the /usr directory, so we then navigate to the /usr directory by typing :
cd /usr
and then it wants you to make the directory so you will type :
mkdir java

Quote:
Download the self-extracting (not RPM) file of j2re-1_4_2 from Sun.
you already downloaded the file, so i'll skip this step

Quote:
Move (as root) the file to /usr/java. Cd (as root) to the /usr/java and issue the following 2 commands:
then it says move "as root" to the file /usr/java ... now since you should still be logged as root, you don't have to worry about that, and since you should be still in the /usr folder then to get to the folder specifed you type :
cd java
if for some reason you left the /usr folder, then issue the full command as :
cd /usr/java

then the rest of the guide is step by step, which i personally don't think i could explain any further than it is ... but if you do get stuck, just come back and ask ;-)
 
Old 02-07-2004, 09:32 PM   #6
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
Ok i think i had it figured out before you replied but thanks so much going thru those steps made it easier for me.
 
Old 02-07-2004, 09:37 PM   #7
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
well i went to type the first command, and i got. chmod: failed to get atributes for j2re....etc no such file or directory?

Last edited by nOOb1kanobee; 02-07-2004 at 09:38 PM.
 
Old 02-07-2004, 09:52 PM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well there is three things i can think of :
a) your not in the directory where the file resides
or
b) your obviously not typing the filename correctly ..
or
c) you dont' have the file
(but you said you downloaded it, so we can rule out this option )

p.s. a little tip is something called "tab completion"
and what it is, is instead of typing the full filename manually which can get tedious with longer names, you use tab to complete it for you .... so just for example type the following :
j2re <PRESS TAB>
and it will complete the rest of the word for you ... that is if there is not another file that has the first 4 characters of j2re, and if there is, you press tab again and it will list the files for you ...
so i guess the benefit of using this technique is the fact you don't have to sit there and type the whole filename, and the fact that you know it will be spelled right
 
Old 02-07-2004, 10:20 PM   #9
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
well the saved file is in file:/home/jeremy/Documents so is that a problem?
 
Old 02-07-2004, 10:21 PM   #10
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
it don't matter where you save it ...
just open a terminal and change in the directory and then follow the steps ..
 
Old 02-07-2004, 10:23 PM   #11
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
grrrrrrrrrrrrrrrrrr! lol
 
Old 02-08-2004, 01:16 AM   #12
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
ok something is really screwy here, can i delete the directory i made? I tried to start from scratch but it sais directory isnt empty i made it wron i think because it is java/usr/java how can i fix this to try all this again?
 
Old 02-08-2004, 01:26 AM   #13
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
n/m i got it had to force it ty anyway
 
Old 02-08-2004, 01:47 AM   #14
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
help?

Last edited by nOOb1kanobee; 02-08-2004 at 02:49 AM.
 
Old 02-08-2004, 02:47 AM   #15
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
root@localhost java]# chmod a+x j2re-1_4_2_-linux-i586.bin
chmod: failed to get attributes of `j2re-1_4_2_-linux-i586.bin': No such file or directory
ok so what is going on here why is this happening?
 
  


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
Firefox 0.8 and J2RE 1.4.2_03(Java) Comreak Linux - Software 31 12-09-2004 03:38 AM
Java J2re , why doesnt it make a directory? Ogledbyoldmen Linux - Software 2 12-03-2003 09:48 PM
Where can I get j2re (java) for RH 9.0? TippyToes Linux - General 5 06-17-2003 12:37 PM
j2re-1_4_1_01-linux-i586-rpm.bin gsikora Linux - Software 2 01-19-2003 10:55 PM
Installing Open Office and J2RE... where is Java? bxb32001 Linux - Software 6 07-03-2002 10:54 PM


All times are GMT -5. The time now is 12:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration