LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-19-2004, 07:45 AM   #1
mobo
LQ Newbie
 
Registered: Mar 2004
Location: Cape Breton
Posts: 29

Rep: Reputation: 15
Java symlink


I have fresh installed fedora Core 1 then installed Netscape to accompany Mozilla in /usr/lib..Installed j2re-1_4_2_04-linux-i586-rpm.bin and have been following ://fedoranews.org/tchung/sunjava/ this tutorial on how to proceed. all is running well up to the part where I have to enter

$ cd ~/download
It continues to give me the" command not found" with the dollar sign and without I get "No such file or directory"

Anyone shed some advice on the matter please.
 
Old 03-19-2004, 07:53 AM   #2
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
Where did you download java.sh to? In the article he assumes you put the article in the download directory of the user that you are logged in as. If you are logged in as bob then cd ~/download actually takes you to /home/bob/download. ~ is a shortcut to indicate the current users home directory.
 
Old 03-19-2004, 07:57 AM   #3
mobo
LQ Newbie
 
Registered: Mar 2004
Location: Cape Breton
Posts: 29

Original Poster
Rep: Reputation: 15
Im logged in as root and the download is in /root/

Is that correct ?
 
Old 03-19-2004, 08:23 AM   #4
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
If the java.sh file is in /root and you are logged in as root then you would issue the command cd ~ or cd /root or cd. The cd command with nothing else takes you to the current users home directory also.
 
Old 03-19-2004, 08:33 AM   #5
mobo
LQ Newbie
 
Registered: Mar 2004
Location: Cape Breton
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the reply..

I did get these three commands done
$ cd ~/download
$ chmod 755 java.sh
$ sudo cp java.sh /etc/profile.d


Here is what It looks like:
[
[root@localhost profile.d]# cd ~
[root@localhost root]# chmod 755 java.sh
[root@localhost root]# sudo cp java.sh /etc/profile.d
[root@localhost root]#

Now it says to reboot then check the path by:
$ env | grep JAVA_HOME
JAVA_HOME=/usr/java/j2re1.4.2_03

My question is to simply exit the terminal should I do anything special like exit or anything ?
 
Old 03-19-2004, 08:50 AM   #6
mobo
LQ Newbie
 
Registered: Mar 2004
Location: Cape Breton
Posts: 29

Original Poster
Rep: Reputation: 15
Logged out & in anyway and whan I tried the Java it didn't work so I moved to the nescape plugin directory and ran the ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so command and Voila..

Thanks for your assistance you have been a great help and very much appreciated...
 
  


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
Symlink Fredde87 Linux - General 14 09-30-2005 08:06 PM
Where do I put the symlink to java rickh Debian 6 05-09-2005 06:22 AM
trouble creating symlink for java/mozilla MightyKC Linux - Software 1 03-03-2005 11:40 PM
Java plugin Symlink not working? Davin Linux - Software 4 02-07-2004 07:08 PM
symlink evannextel Linux - Newbie 1 09-17-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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