[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

j2sdk1.4.0_01 and Tomcat 4.1.18. Re: [cobalt-developers] RAQ 4 - Is Java possible?



Hi, John,



Yes, I am using j2sdk on my Cobalt Qube3. (Not on Raq).

Some months ago I used to work with JDK 1.3.3+Tomcat 3.x,

shipped in "pkg" format.

You can find this old Java on the  pkgmaster.com.

This combination works and not too bad.

But then I downloaded and installed new  J2SDK-

j2sdk1.4.0_01.

Also I installed jBoss 3.0.4+Tomcat 4.1.12 and the replaced Tomcat 4.1.12
with

Tomcat 4.1.18.

All these work OK.



As I understand there is no really big difference of our Cobalts (and may be
all kind of Raqs) from usual Linux-based PC.

All of them use Red-Hat oriented versions of Linux and you can use and
install the same versions of Java, as you can use for standard PCs.



About "no libraries" errors:

In my personal experience - if you see such kind of errors it does not mean
that you really need any of the libraries.

It means "things go wrong way".

It is usual situation on the all kind of Linux.

Sometimes (in very rear cases) you can find in the Net and install the libs
and all will be OK.

But usually it is not the way.

I remember that when I installed new version of mySql, I saw such an errors.

There is no connection with Java at all...



If you have old soft (old version of Java or old version of mySql, for
example) you should first de-install the old soft and only after that
install new version.

That is the common rule.

You may try to solve the problems with the libs and, may be you will be the
expert in this field, but the fast way is to remove old version and install
new one.

It is something like to try to solve "blue screen of death" problem under
NT/Win2000. Theoretically yes, you can find the error numbers and repair
register, etc.

But in reality you should re-format the HD and do all the things anew (just
try to copy data from HD and that's all).



 Oleg@xxxxxxxxxxxxxxx



----- Original Message -----
From: "John Sessler" <jsessler@xxxxxxxxxxxxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Friday, February 07, 2003 10:17 PM
Subject: [cobalt-developers] RAQ 4 - Is Java possible?


> Hello All,
>
> I had the 1.3.1 package and Tomcat3 working some months ago but they are
> outdated and buggy as someone here said .I am now trying to get
> j2sdk1.4.0_01 and Tomcat 4.1.18 running with apache on my Raq4. Does
anyone
> have a howto?
> When I invoke java -version to see if java is running I get the following
> errors:
> Error: could not find libjava.so
> Error: could not find Java 2 Runtime Environment.
>
> The file definitely exists, in 4 different directories, no less. I found a
> post somewhere else about the possible reasons for this error but none of
> them seem to be happening to me:
> 1) dos script files adding an invisible ctrl-M to the end of lines
> -my editor is linux friendly and besides I've checked my files (manually,
> but carefully)
> 2) add the directory where libjava.so resides to /etc/ld.so.conf and run
> ldconfig
> -I tried all 4 versions even though the one in j2sdk1.4.0_01/jre/lib/i386
is
> probably the correct one. None of them fixed the problem.
> 3) Incorrect LD_LIBRARY_PATH
> -The only reference I have found is in /etc/tomcat4/tomcat4.conf and is
> commented out. I wouldn't know what to set it to.
> 4) Incorrect glibc version
> - According to the author this was the most common reason for this error.
> The download page for for j2sdk1.4.0_01 says it was tested on Cobalt linux
> but it doesn't say which Cobalt. I know of no updates available for glibc
> for the Raq4 and my Raq is off-the-shelf with all updates.
> the command /lib/libc-* givenon the Sun download page for for
j2sdk1.4.0_01
> produces the following result:
> /lib/libc-2.1.3.so
> There is some ambiguity on which Cobalt was tested so it would be helpful
if
> someone could confirm that they are running j2sdk1.4.0_01 with this
version
> of glibc on a Raq4
>
> I would greatly appreciate help with this -Howtos, scripts, environment
> variables, gotchas.
> Thanks in advance.
> John
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers