----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Ok, Ok, calm down Robert ... I've been in the same position as you many
times before. I should have known from your email that you're a little new
to the environment. And I have to tell you that you'll probably get a lot
more frustrated before it finally becomes clear to you. I am going to try to
walk you through the whole process, but you have to be extremely patient.

1. OK, first, we're not even going to go near the glibc thing for 2 reasons
: it probably isn't your problem because you're using Sun's JDK and Suse,
and because it will take too long -- maybe another email

2. OK. I need you to confirm that Java is indeed installed inside your
system. I need you to open up your favorite text editor in Linux (are you
using KDE ? If you are, please use Advanced Editor instead of the plain
vanilla Text Editor. Reason is that files saved in Text Editor contain extra
formatting that may not be recognized by the system). Open /etc/profile
inside the editor. Look for a line that says : "PATH=xxxxxx". If your Sun
JDK is installed in /usr/local/Java2, for example, I need you to add the
following :
PATH=/usr/local/Java2/bin:/usr/local/Java2/lib:<other directories here>

Before closing the file, add the CLASSPATH, and export it. The last
statement in your /etc/profile should say something like :

export PATH BLAH-BLAH BLAH-BLAH

Before the export statement insert the CLASSPATH line and export statement :

CLASSPATH=/usr/local/jsdk/lib/jsdk.jar  ----> This is assuming that jsdk.jar
exists inside /usr/local/jsdk/lib.
export CLASSPATH

and add the JAVA_HOME, just in case :
JAVA_HOME=/usr/local/Java2
export JAVA_HOME

3. OK. Now save the file and reboot the system. The new /etc/profile should
take effect after the reboot.

4. After your system boots up, test your configuration. Open a terminal
window or at the command prompt type "java -showversion". If you get an
"Unknown commmand" message, either your Java binaries are not installed or
the system cannot find the "java" command. If this occurs, type : "echo
$PATH" and check if the path to your Sun JDK is there. For example, if your
Sun JDK is installed inside /usr/local/Java2, you should have
/usr/local/Java2/bin and /usr/local/Java2/lib inside your PATH. Check that
the typical java commands are in the path that you specified !! The system
will try to find the "java" command inside /usr/local/Java2/bin. If the
command isn't there, then of course java would not work properly (there is
an exception, but i don't even want to go into it at this point). Please
ensure that Java is indeed installed on your system !!

5. If your jsdk is indeed installed, try executing the "servletrunner" app.
I believe it is inside the /usr/local/jsdk/bin directory (though I could be
wrong-- it has been a looong while). Go to the directory where the
"servletrunner" command is and execute it like so :

./servletrunner

You should see a whole bunch of messages showing how the app is running and
which port it is using. If you get an error instead, you probably haven't
set the CLASSPATH correctly. To check your CLASSPATH, type : "echo
$CLASSPATH". If you see nothing, you have nothing in your CLASSPATH, check
your /etc/profile and ensure that the "export" statement is there.

6. If everything is successful, you can start compiling Apache JServ into
your Apache server software. You should have no problems...

Regards,
Chong Yu Meng


----- Original Message -----
From: "Robert Emmerich" <[EMAIL PROTECTED]>
To: "Java Apache Users" <[EMAIL PROTECTED]>
Sent: Saturday, August 05, 2000 11:13 PM
Subject: Re: Re:


> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi Pascal, thank you for your help.
>
>
> This does unfortunately nothing ...
> rpm -qa | grep glibc
>
>
> I think the kernel version should say something about the glibc, when its
a
> new installation :-)
> I will visit suse and look for it ... but find nothing;
> do you think the error-message comes from a wrong glibc, i cant believe
> this.
>
> I cant do this:
> "java -showversion"
>
>
> Maybe i should use an older jdk; its not important for me,
> i wont do javathings one second more than i need :-(
> but i have to install an application with java and mysql that needs this
> whole stuff.
>
> So till now:
> jdk1.3 (sun) in jdk (sym to jdk1.3)
> jsdk2.0 (i must use this, as jeserv said) in jsdk (sym to JSDK2.0)
> ApacheJServ somewhere in a temp
>
> Hmm, i really dont know what to do inside the /etc/profile
> I cant find a "classpath" inside.
>
> As i was told i should use jserv with apache cause it will be faster and
> more stable than the tomcat-thing.
>
>
> But at the moment i would really use everything, if i could install this
> damned community from cassiopeia.de
>
> I sit here now for two days, tried it under NT4 with MSSQL or MySQl and
> under linux,
> itīs horrible, more than this cause i have a big project to do and cant go
> on with it ...
>
> Robert
>
>
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

  • Re: Re: Robert Emmerich
    • Chong Yu Meng

Reply via email to