Linux - SoftwareThis 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.
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.
Hello!
I just downloaded the file j2eesdk-1_4-dr-linux-eval from sun.com. The problem is I cannot figure out how to install it! It isn't a .bin file, or a .gz or .tar, and according to Konqueror it is a "executable file". I thought these were windows files. What to do?
So it was only a question of permissions! Another thing, tho. I have wondered about the './' at the beginning of the second line, ie "./j2eesdk-1_4-dr-linux-eval". WHy is the ./ necessary to get the executable to run?
It may not be necessary, depending on your system, although it's generally necessary for root.
The ./ indicated the current directory. ( .. is back a directory, . is current directory - if you do ls -a you'll see they come up). When ./ precedes a command (say ./configure) it means to run only the instance of configure in the current directory, the idea being that if someone somehow managed to put a malicious file with the same name as a useful tool, for example a program to wipe the hard disk called 'cd' in a directory and root happened to be in that directory and typed 'cd', you don't want it to run that malicious program, so root would have to explicitly say 'run the cd that is in this directory, not the one in /bin - that's what ./ does). Root rarely has current directory (.) in his path.
Bad, jumbled explanation, but hopefully you get the idea.
[code]
./j2eesdk-1_4-dr-linux-eval: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
[/cope]
Check your lib directories (probably /usr/lib in this case) and see if you have a similar file. If so, make a symbolic link from the similar file to the one it's looking for (again, in your /usr/lib directory) and run ldconfig as root. Then try the java executable again.
Originally posted by Poprocks Check your lib directories (probably /usr/lib in this case) and see if you have a similar file. If so, make a symbolic link from the similar file to the one it's looking for (again, in your /usr/lib directory) and run ldconfig as root. Then try the java executable again.
Hi, thanks for your reply.
I cannot find the file it is looking for anywhere.
In /usr/lib, I found only:
libstdc++.so.5@
libstdc++.so.5.0.5
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.