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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-07-2003, 09:40 AM
|
#1
|
Member
Registered: Oct 2002
Posts: 84
Rep:
|
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.
|
|
|
08-07-2003, 10:09 AM
|
#2
|
Member
Registered: Jul 2003
Location: Hastings, MN. USA
Distribution: Ubuntu 10.xx
Posts: 109
Rep:
|
try su
|
|
|
08-07-2003, 10:13 AM
|
#3
|
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:
|
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:
|
|
|
08-07-2003, 10:41 AM
|
#4
|
Member
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647
Rep:
|
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.
|
|
|
08-07-2003, 12:25 PM
|
#5
|
Member
Registered: Oct 2002
Location: Ohio, USA
Distribution: OS X 10.4.8, Ubuntu 6.10
Posts: 146
Rep:
|
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
|
|
|
08-07-2003, 12:27 PM
|
#6
|
LQ Newbie
Registered: Aug 2003
Location: san jose
Posts: 3
Rep:
|
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
|
|
|
08-07-2003, 01:06 PM
|
#7
|
Member
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647
Rep:
|
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
|
|
|
|
08-07-2003, 03:17 PM
|
#8
|
Member
Registered: Oct 2002
Location: Ohio, USA
Distribution: OS X 10.4.8, Ubuntu 6.10
Posts: 146
Rep:
|
Do you mean a thread on here?
-AquamaN
|
|
|
08-07-2003, 05:56 PM
|
#9
|
Member
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203
Rep:
|
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
|
|
|
08-08-2003, 05:24 AM
|
#10
|
Member
Registered: Oct 2002
Posts: 84
Original Poster
Rep:
|
Thanks for the information i am going to do this now back in 40 mins or less to post my reply
|
|
|
08-08-2003, 05:35 AM
|
#11
|
Member
Registered: Oct 2002
Posts: 84
Original Poster
Rep:
|
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
|
|
|
08-08-2003, 05:45 AM
|
#12
|
Member
Registered: Oct 2002
Posts: 84
Original Poster
Rep:
|
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]#
|
|
|
08-08-2003, 05:56 AM
|
#13
|
Member
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73
Rep:
|
type:
whereis java
|
|
|
08-08-2003, 06:34 AM
|
#14
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
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.
|
|
|
08-09-2003, 06:10 PM
|
#15
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
|
|
|
All times are GMT -5. The time now is 11:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|