LinuxQuestions.org
Review your favorite Linux distribution.
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 08-07-2003, 09:40 AM   #1
waheedrafiq
Member
 
Registered: Oct 2002
Posts: 84

Rep: Reputation: 15
Angry how to install Java


Guys i have a problem i recently install or manage with some help to instal Mozila this went fine i am now experencie some basic problems that can or could have been relsove faster in Windows IE6


when i go to this chat room it needs Java to run Mozilla ask me to install a plugin so i do after downloading it then installs it only half way and states that Error is Access denied or Read only i have two question

1) how do install this file j2e-1_4_2-linux-i586.rpm

2) how the hell can i give my self full permission so i can install any programs with out damaging the system.


please provide step by step guide as i need all the help i can get i am a newbie to linux and never touch it.
 
Old 08-07-2003, 10:09 AM   #2
Cooner
Member
 
Registered: Jul 2003
Location: Hastings, MN. USA
Distribution: Ubuntu 10.xx
Posts: 109

Rep: Reputation: 15
try su
 
Old 08-07-2003, 10:13 AM   #3
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Rep: Reputation: 30
That file should have come with instructions, or at least from the sun site you can get them...But anyways, try:

rpm -ivh j2e-1_4_2-linux-i586.rpm


If you want to become root:

$$$>su -
$$$>root password:
 
Old 08-07-2003, 10:41 AM   #4
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
If you finish the above, post back "OK" and then we will show u how to symbol link your Java to be able to use in Mozilla.
 
Old 08-07-2003, 12:25 PM   #5
AquamaN
Member
 
Registered: Oct 2002
Location: Ohio, USA
Distribution: OS X 10.4.8, Ubuntu 6.10
Posts: 146

Rep: Reputation: 15
Also, sometimes when you download an rpm and you go to install it and it says that you do not have the correct permissions, you can just right click on it and go into the permissions tab and then put the 'x' in the boxes to give you access... OR you can open up the CLI and cd to the directory with the file and type:

su
(enter root password)

then type:

chmod 777 filename.rpm

and you will be all set.

-AquamaN
 
Old 08-07-2003, 12:27 PM   #6
linux080503
LQ Newbie
 
Registered: Aug 2003
Location: san jose
Posts: 3

Rep: Reputation: 0
I am sorry, but how do I start a thread?

I didn't allocate enough disk space for /tmp, how do I expand the
size of that partition?

Simon
 
Old 08-07-2003, 01:06 PM   #7
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
Quote:
Originally posted by linux080503
I am sorry, but how do I start a thread?

I didn't allocate enough disk space for /tmp, how do I expand the
size of that partition?

Simon

 
Old 08-07-2003, 03:17 PM   #8
AquamaN
Member
 
Registered: Oct 2002
Location: Ohio, USA
Distribution: OS X 10.4.8, Ubuntu 6.10
Posts: 146

Rep: Reputation: 15
Do you mean a thread on here?

-AquamaN
 
Old 08-07-2003, 05:56 PM   #9
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
waheedrafiq,

mozdev.org has a great page on installing java as well as other plugins. I got all the ones that are listed as supported and untested to work on Mozilla 1.4 (the latest stable version) Here is the location: http://plugindoc.mozdev.org/linux.html
Here is a website so you can test the plugins: http://fredrik.hubbe.net/plugger.html
To get the plugin to work create a symbolic link from the java plugins to the mozilla plugins. Here is the command:
ln -s /java/plugin/javaplugin.so /mozilla/plugin/javaplugin.so
 
Old 08-08-2003, 05:24 AM   #10
waheedrafiq
Member
 
Registered: Oct 2002
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks for the information i am going to do this now back in 40 mins or less to post my reply
 
Old 08-08-2003, 05:35 AM   #11
waheedrafiq
Member
 
Registered: Oct 2002
Posts: 84

Original Poster
Rep: Reputation: 15
Cool

Well guys that was quick on to stage two

how to symbol link your Java to be able to use in Mozilla.


can anyone help me here once again step by step guide
 
Old 08-08-2003, 05:45 AM   #12
waheedrafiq
Member
 
Registered: Oct 2002
Posts: 84

Original Poster
Rep: Reputation: 15
Unhappy Help me again !!!!

Not so cool I'm I there seem to be a problem i am now getting this error message:

waheedrafiq@localhost java]$ dir
j2re-1_4_2-linux-i586.rpm j2re-1_4_2-linux-i586-rpm.bin
[waheedrafiq@localhost java]$ rpm-ivh j2re-1_4_2-linux-i586.rpm
bash: rpm-ivh: command not found
[waheedrafiq@localhost java]$ rpm -ivh j2re-1_4_2-linux-i586.rpm
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[waheedrafiq@localhost java]$ su
Password:
su: incorrect password
[waheedrafiq@localhost java]$ su
Password:
[root@localhost java]# rpm -ivh j2re-1_4_2-linux-i586.rpm
Preparing... ########################################### [100%]
package j2re-1.4.2-fcs is already installed
[root@localhost java]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/root/.mozilla/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so': No such file or directory
[root@localhost java]#
 
Old 08-08-2003, 05:56 AM   #13
haobaba1
Member
 
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73

Rep: Reputation: 15
type:


whereis java
 
Old 08-08-2003, 06:34 AM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,951

Rep: Reputation: Disabled
Quote:
Originally posted by linux080503
I am sorry, but how do I start a thread?
Simon, go to the forum page (e.g. Linux Newbie or Linux Software ...). On the right side at the top, right above and besides the forum statistics field is a button "New thread".

That's what you are looking for.
 
Old 08-09-2003, 06:10 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
follow this link..

http://www.linuxquestions.org/questi...read&forumid=2
 
  


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
java does not install in opt but install in usr bbmak Linux - Software 6 10-03-2005 12:13 AM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 09:24 PM
Java Install marlaina1 Linux - Software 5 03-22-2004 12:58 PM
Java Install Please Help!!! unwrittenlaw Linux - Newbie 22 11-09-2003 12:42 AM
Help with java install (again...) MidgetmanUK Linux - Newbie 3 10-04-2003 09:36 AM


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