LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-10-2004, 06:08 PM   #1
tumana
Member
 
Registered: Mar 2004
Posts: 102

Rep: Reputation: 15
J2EE 1.4 on Mandrake 10


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:
Code:
./j2eesdk-1_4-linux.bin
from inside that directory. Right?

Sun's Installation guide says the following:
Quote:
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?

Thanks is advance,
Ian
 
Old 06-10-2004, 06:15 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
the instructions are correct, just follow them without thinking too much, after i am sure you will understand how you did it.
 
Old 06-10-2004, 07:28 PM   #3
tumana
Member
 
Registered: Mar 2004
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
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"?

Thanks,
ian
 
Old 06-10-2004, 08:19 PM   #4
tumana
Member
 
Registered: Mar 2004
Posts: 102

Original Poster
Rep: Reputation: 15
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
 
Old 06-11-2004, 02:24 AM   #5
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Rep: Reputation: 30
Quote:
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.

Last edited by mtb; 06-11-2004 at 02:27 AM.
 
Old 06-16-2004, 07:47 PM   #6
tumana
Member
 
Registered: Mar 2004
Posts: 102

Original Poster
Rep: Reputation: 15
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.

Thanks,
ian

Last edited by tumana; 06-16-2004 at 07:49 PM.
 
  


Reply



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
Which database is suitable for J2EE hytechpro Programming 2 12-19-2005 09:24 AM
Troubles installing J2EE on Mandrake 10 mihaesh Linux - Software 3 10-16-2004 06:19 AM
servlets/jsp/j2ee linux_ub Linux - Software 1 09-29-2004 02:17 PM
I don't like J2EE and .NET melinda_sayang Programming 2 05-31-2004 11:14 PM
setting up, need recommendations for j2ee digitized_funk Linux - Software 1 03-22-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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