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

[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