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.
So I'm also trying to install J2EE 1.4 on my Mandrake 10.0 web server. I've downloaded this file from Sun's website:
j2eesdk-1_4-linux.bin
To my understanding, all I have to do is copy it to the location I want the files to be extracted to (I.e. /opt/j2ee), and then run the following command line:
Installing the Application Server Software
...
1. Navigate to the directory where you downloaded the bundle file.
2. Change the permission of the bundle file so that you have execute access:
chmod +x <bundle-file-name>
3. Run the installation program.
To run the installation program that uses a graphical interface, at the command prompt type the name of the bundle file at the command prompt.
To run the installation program that uses the command-line interface, at the command prompt type the name of the bundle file followed by the -console option.
4. If you wish to upgrade your installation, see Chapter 2: Upgrading an Application Server 7 Installation.
5. Set the PATH environment variable to include the Application Server install_dir/bin directory.
6. To verify the installation, follow the instructions of the Quick Start Guide, located in install_dir/docs/QuickStart.html.
But why do I want to install the Application Server Software? That should already be bundled in the J2EE file according to their own website!
I also read that I have to put it into my PATH. Could someone give me a little clarification?
Originally posted by mrcheeks the instructions are correct, just follow them without thinking too much...
Which one was correct? The one that said to simply execute the bin file or the instruction I copied off Sun's installation guide for "Installing the Application Server Software"?
Well, I went ahead and tried it. The file is located in /opt/j2ee since it's third-party software.
I first made the file executable by typing this is the command line as root:
Code:
chmod 777 j2eesdk-1_4-linux.bin
Then I tried to extract the files with:
Code:
./j2eesdk-1_4-linux.bin
It gave me the following error:
Code:
./j2eeskd-1_4-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
I have the development tools installed, but checked to see if there was a package called "libstdc++-libc6.2-2.so.3" that I could install from the Mandrake package management tool. There was none.
I also tried the package name followed by -console option like Sun's installation guide told me to do.
I know I can't be the first one trying to install the J2EE SDK on Linux. Can someone please help?
Originally posted by tumana Well, I went ahead and tried it. The file is located in /opt/j2ee since it's third-party software.
I first made the file executable by typing this is the command line as root:
Code:
chmod 777 j2eesdk-1_4-linux.bin
Then I tried to extract the files with:
Code:
./j2eesdk-1_4-linux.bin
It gave me the following error:
Code:
./j2eeskd-1_4-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
I have the development tools installed, but checked to see if there was a package called "libstdc++-libc6.2-2.so.3" that I could install from the Mandrake package management tool. There was none.
I also tried the package name followed by -console option like Sun's installation guide told me to do.
I know I can't be the first one trying to install the J2EE SDK on Linux. Can someone please help?
Thanks,
ian
Well i have never tried to install ee, but maybe you can proceed as follows:
locate a lib called libstdc++-libc6 ( if you run updatedb, just use the cmd locate libstdc++-libc6 , else perform a file search with whatever you want )
If you find something, search for the non-linked library ( the real one ).
then ln -s <real library> libstdc++-libc6.2-2.so.3 in the libs directory ( the one exploited by locate ), and remember the command in case it causes troubles.
I suggest you to type: script log.txt before proceding, so everything you will do will be written to log.txt, and when you want to stop logging use ctrl+d.
Well when i installed netscape4.8 to test some web sites i did something similar and it worked.
Thanks. Unfortunately because of a deadline I had to use Apache's HTTPD as apose to Apache's Tomcat. I already know HTTPD and I'll have to tinker with Tomcat later. I'm going to keep your post for reference.
I was trying to install the Java SDK because Tomcat requires it. Oh well. That'll have to wait.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.