Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Installing Java In Ubuntu, How do i do it?
ghorgoth
post Mar 27 2005, 07:21 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 27-March 05
Member No.: 4,792



I have come across this error after i run the .bin file at the beginning.

root@csce:/home/scragg/java # rpm -iv jre-1_5_0_02-linux-i586.rpm
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm

It wont let me get past this point. I have followed the instructions on the
www.java.com website as well, but it all leads me to this error.

Could anyone help me out here? smile.gif

Thanks,
Don
Go to the top of the page
 
+Quote Post
Termina
post Mar 27 2005, 08:14 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Get the .bin file, not the .rpm

Please see
http://www.linuxhelp.ca/forums/index.php?a...=ST&f=15&t=5738
on how to do this.


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
dedhart
post Mar 28 2005, 01:01 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 21-March 05
Member No.: 4,773



Hey Termina, I've followed the steps in the guide to configure java, but it still doesn't work. I've added the lines "PATH=$PATH:/path/to/java" and "export PATH" to my profile and my bash profile (or at least I think I got it right) still when I type in "whereis java" the response I get is "java:"
I've even tried coppying the SO files to my netscape and Mozilla plugin folders, still Java doesn't work, I'm at my wits end here trying to install this thing.
Go to the top of the page
 
+Quote Post
DS2K3
post Mar 28 2005, 06:17 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



What does Mozilla say when you type "about:plugins" into the address bar?

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
dedhart
post Mar 28 2005, 12:41 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 21-March 05
Member No.: 4,773



Says I have shockwave flash player installed and a default plugin (libnullplugin.so) that's not enabled. I don't see java.

I also tried installing the adobe plugin, seems konqueror can read PDF files but firefox can't, why's linux gotta make simple tasks so freakin difficult?
Go to the top of the page
 
+Quote Post
DS2K3
post Mar 29 2005, 07:51 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Konqueoror ahs the benefit of the entire KDE suite of libraries and software, Mozilla is cross-platofrm and cant be made to take of these libraries without significant modifications. I dont think it is particularly difficult or complex, it's just different to Windows. Forget everything you know about Windows, because 99% of it just doesnt apply in Linux.

Exporting that path environment variables is only necessary if you are running java apps, it isnt needed to run Java in Mozilla. Check that the links in the plugin flder are correct, and also check they are readbale by everyone, not just root.

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
Corey
post Mar 29 2005, 10:45 AM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



As root, issue the following commands:

[quote]
echo "deb http://ubuntu.tower-net.de/ubuntu/ warty java" >>/etc/apt/sources.list
echo "deb http://archive.ubuntu.com/ubuntu/ warty multiverse" >>/etc/apt/sources.list
[/quote]

Then search for the correct package name (i don't use ubuntu, so i don't know the exact name):

[quote]
apt-cache search sun-j2
[/quote]

Then install it with:

[quote]
apt-get install packagename
[/quote]

packagename is the name you got from the apt-cache command.

This should install it and set up your environment for it. For more information, see the Ubuntu wiki page here.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 11:26 PM