Alright, lastnight was my first real shot at a linux distro. So anyways, I installed java (I think), and when trying to launch a jnlp file with javaws, it would show the java logo then crash. So I tried it in the Konsole, and it showed me a thing saying that is couldn't read the linked object: libstdc++.so.5 because the filepath was incorrect (or something to that effect). I couldn't really find any true help on google, so does anyone have a file I can download, or a command I can type?
Announcement
Collapse
No announcement yet.
libstdc++.so.5 help
Collapse
This topic is closed.
X
X
-
Re: libstdc++.so.5 help
I went to the java site, and got the .bin (not the rpm one), downloaded it, set it as executeable, went into the Konsole type sudo then the path/name of the java bin. It went through and installed, I had all the folders where my bin was located. Like Bin, Lib, Etc
- Top
- Bottom
Comment
-
Re: libstdc++.so.5 help
I'm afraid that you've made some mistakes. Considering that you've been running Kubuntu for only a few hours, it's probably not worth the significant effort that it would take to retrieve the situation. Accordingly, I'm going to suggest that you reinstall. Linux is NOT windoze and under normal circumstances, I would never suggest a reinstall, but i your case (unless you moved a lot of your "stuff", e.g. music, photos, etc. over to Linux without having any backup), reinstallation is probably the fastest way to go. Once you've done that, you can install Java the RIGHT WAY.
To install anything, (especially Java) you should use the Kubuntu package management system. This is actually the Debian package management system so the installation files are called "*.deb". You install them by using a package manager. You have a choice of four. One of them, Aptitude, is outside the scope of this post. Apt is a command line tool that is actually the "back end" that is called by both of the two GUI package managers Adept and Synaptic. Adept was installed on your system by default, but if you try to install with Adept, you will get fouled up because part of the installation procedure requires that you agree to Sun's license terms and Adept won't let you see the thing that you have to click. The result is that your system will be left in a unstable state with Java half installed. So, I'm going to suggest that you use either Apt or Synaptic. Since you'd have to use apt to install Synaptic I suggest that if you REALLY want to get JAVA going right away, you might as well use Apt. So:
(0) Reinstall Kubuntu, set up your home directory, etc.
(0') Start a konsole and give the command "sudo nano -B /etc/apt/sources.list". Make sure that the line that says "deb http://xx.archive.ubuntu.com/ubuntu/ feisty multiverse" (where xx is your country code) is not preceded by a '#" character. (The corresponding line for "universe" should also be "un-#ed"). Then type Ctl-O to write out the file and Ctl-X to exit nano.
(1) Start a Konsole, enter the command "sudo apt-get install sun-java6-jdk". Enter your password when requested.
(2) Apt will tell you that it's going to get a bunch of other stuff as well , then it will tell you that certain other packages (sun-java6-doc, sun-java6-demo, and sun-java6-source) are "suggested". "Suggested", in Debian parlance, means that you could live without them, but you'd be an idiot to do so. So after you get sun-java6-jdk, apt-get install them, as well.
(3)By this time you'll be bored by using apt-get from the konsole, so you'll be tempted to use Adept. Don't. Instead try "sudo apt-get install synaptic". Henceforth, you can use Synaptic without the hassles of having Adept crash your system.
If you have a problem, you can get back to us at any time.
- Top
- Bottom
Comment
Comment