LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-05-2006, 07:19 PM   #1
jukeboxSteve
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
Unhappy 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
 
Old 12-05-2006, 10:10 PM   #2
pharmd
Member
 
Registered: Feb 2005
Location: South Carolina
Distribution: Ubuntu 6.06 LTS
Posts: 83

Rep: Reputation: 15
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
 
Old 12-06-2006, 01:34 PM   #3
jukeboxSteve
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-07-2006, 11:42 AM   #4
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 176

Rep: Reputation: 50
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.
 
Old 12-07-2006, 05:22 PM   #5
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
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
 
Old 12-08-2006, 05:30 PM   #6
jukeboxSteve
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-09-2006, 05:25 AM   #7
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
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
 
Old 12-10-2006, 06:13 PM   #8
jukeboxSteve
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-10-2006, 07:20 PM   #9
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Sorry, Wasnt' aware you were restricted to 1.3...

I'm out of ideas..

IGF
 
Old 12-10-2006, 07:34 PM   #10
rickh
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: Reputation: 62
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.
 
  


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
Where do I install Java? No_Good_With_Linux Debian 4 06-04-2006 02:35 PM
java does not install in opt but install in usr bbmak Linux - Software 6 10-02-2005 11:13 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
How Do you install Java? wizjr1 Fedora 3 07-03-2004 08:52 AM
What's the best way to install Java?????? caleb star Linux - Software 4 06-01-2004 09:16 PM

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

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