Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
|
 |
12-05-2006, 07:19 PM
|
#1
|
LQ Newbie
Registered: Dec 2006
Posts: 4
Rep:
|
Why can't i install java?
Well I think i've installed java with the self installing "j2re-1_3_1_18-linux-i586.bin" , I need to use jre1.3 because it used a different event model that is needed on my system.
I've exported the path using sudo export PATH=$PATH:/new path/to java/bin and even included the same path command in my /etc/profile file
Still java won't work when I run the command "java" its reports back "error while loading shared libraries: libstdc++-libc6.1-1.so.2" so I installed what I thought was the right package "libstdc++2.10-dev_2.95.4-22_i386.deb" and also "libstdc++2.10-glibc2.2_2.95.4-22_i386.deb" for good measure.
However its still not working, I get loads of dependency issues when trying to install packages. It seems there are dependencies for dependencies for dependencies, this just seems to go on and on forever.
Does anyone know how I can resolve this? and is there a standard library that will provide all the packages I need.
Please help if you can.
Thanks Steve
|
|
|
12-05-2006, 10:10 PM
|
#2
|
Member
Registered: Feb 2005
Location: South Carolina
Distribution: Ubuntu 6.06 LTS
Posts: 83
Rep:
|
Try following this
http://ubuntuguide.org/wiki/Ubuntu_dapper
If your using Edgy make sure you select that guide. This is what I always go to when I need to set everything up after a fresh install
|
|
|
12-06-2006, 01:34 PM
|
#3
|
LQ Newbie
Registered: Dec 2006
Posts: 4
Original Poster
Rep:
|
Still having problems
I'm still having problems, every tutorial or help i've found suggests i use apt-get which i presume is an internet based tool for downloading updates. The problem is my linux box doesn't have network access i'm using my windows based comuter for that (sorry about the window plug), i really want to get away from ms windows and migrate fully to linux, however i'm a linux newby and its proving very hard to do what i thought would have been a simple task (installing java) i'm running kubuntu edgy. Please help if you can
Thanks
|
|
|
12-07-2006, 11:42 AM
|
#4
|
Member
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 176
Rep:
|
Ok, Does your windows box have network access? If so, then you could connect the two, install "internet connection sharing" on the windows box and reboot the linux box. DHCP should connect you to the internet through that. This does require that you have two working ethernet cards in the windows box. I do it this way on my home computer.
|
|
|
12-07-2006, 05:22 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355
Rep:
|
Quote:
Originally Posted by Hendronicus
Ok, Does your windows box have network access? If so, then you could connect the two, install "internet connection sharing" on the windows box and reboot the linux box. DHCP should connect you to the internet through that. This does require that you have two working ethernet cards in the windows box. I do it this way on my home computer.
|
Honestly, the best way to resolve it, is to get internet access and use apt-get, it will keep you from ripping your hair out and being sent to a psychiatric ward. Then you can install Automatix or EasyUbuntu, and all will be well in your life.
Hendronicus gives a valid suggestion. Ethernet cards are fairly inexpensive, then you'll just have to invest in the cat6 cable. What I would probably do however, is invest in a firewall/router (which is a good idea to have anyways on a Windoze box) and connect the two this way. Wireless can/could be tricky, but if you're using two desktops, I'd stick to running a wired network.
I've had excellent performance with my Netgear FVS114 ProSafe, but any of the major brands(Netgear, D-Link, Linksys, Belkin, etc..) probably offer something that will meet your needs.
IGF
|
|
|
12-08-2006, 05:30 PM
|
#6
|
LQ Newbie
Registered: Dec 2006
Posts: 4
Original Poster
Rep:
|
Think i'm getting somewhere
Thanks for the advice, i've got my internet connection working and now i want to install java jdk1.3 i have binaries from sun and from blackdown. I've tried installing the sun version and its installed ok, or so it seams, i used ./javaname and i've tried setting the path with the following command export PATH=~/Desktop/jdk1.3.1_18/bin:$PATH then checking with echo $PATH i see the path has been added.
However when i run the command java i get the following error:
home/steve/Desktop/jdk1.3.1_18/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file:
no such file or directory
any suggestions how i can update the required libraries
Thanks
Steve
|
|
|
12-09-2006, 05:25 AM
|
#7
|
Senior Member
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355
Rep:
|
Quote:
Originally Posted by jukeboxSteve
Thanks for the advice, i've got my internet connection working and now i want to install java jdk1.3 i have binaries from sun and from blackdown. I've tried installing the sun version and its installed ok, or so it seams, i used ./javaname and i've tried setting the path with the following command export PATH=~/Desktop/jdk1.3.1_18/bin:$PATH then checking with echo $PATH i see the path has been added.
However when i run the command java i get the following error:
home/steve/Desktop/jdk1.3.1_18/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file:
no such file or directory
any suggestions how i can update the required libraries
Thanks
Steve
|
You might have screwed somethin up with all the different ways you tried insalling this before you had a net connection. Go to Synaptic, and uninstall all versions of Java that you insalled.
Then use Automatix, to re-install Java. Thats how I did it and it works fine to my knowledge(I don't use Java).
http://getautomatix.com/wiki/index.p...e=Installation
IGF
|
|
|
12-10-2006, 06:13 PM
|
#8
|
LQ Newbie
Registered: Dec 2006
Posts: 4
Original Poster
Rep:
|
Still not getting anywhere
Thanks IGF for advice, i installed automatix but i still don't have the option of installing sun's jdk or jre 1.3 only the latest 1.5. However, i can't use nor upgrade to 1.5 because my java application will not move from 1.3 due to the event model my java ap uses.
Any ideas how i can get 1.3 installed?
Steve
|
|
|
12-10-2006, 07:20 PM
|
#9
|
Senior Member
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355
Rep:
|
Sorry, Wasnt' aware you were restricted to 1.3...
I'm out of ideas..
IGF
|
|
|
12-10-2006, 07:34 PM
|
#10
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
Googling "java archive" took me here: http://java.sun.com/products/archive..._18/index.html
From the looks of your commentary above, I'm not sure you know how to install it. The old-fashioned method of installing it on Debian is outlined here. I'm not sure how applicable it is to Ubuntu.
|
|
|
All times are GMT -5. The time now is 05:25 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
|
|