Hi all Java-Linux freaks (there *are* other people on this list, aren't 
there?)

I'd love to run Java and Swing on Linux, so I downloaded JDK1.1.6v2 and 
JDK1.1.5vX (for my intel pentium, 64 MB, Linux 2.0.30)

Un-GZIP-ped the stuff, un-TAR-red. All went fine. Until I tried to run 
the script /usr/local/java/bin/java. It reported: File not found for the 
file /usr/local/java/bin/i586/green_threads/java. But the file does 
exist!!! When I try to run /usr/local/java/bin/i586/green_threads/java 
explicitly, I receive the same error message. When I do an ls, I'm told 
something like:

rwxr-xr-x root   root  blabla     java*

The file is executable and it exists, so what's the problem. It is an 
ELF binary, but my kernel supports ELF.

I use bash. When I print the return value, (echo $?) I receive 126, 
instead of the usual 127 if bash cannot find a file. The man page does 
not tell me what this means.

I've written a C program that exec's the file for me. Result: file not 
found. Duh !!!

Used to run JDK1.1.1 delivered on the Slackware distribution CD's... All 
went fine (except for Swing).


WHAT'S MY PROBLEM????


Hope someone can help. Please!! (I'll let you have early access to some 
of my to-be-public Java code if you fix it! ;-) )


+---------------------------------------------------------+
|  "Come to me all you who are weary and burdened, and I  |
|                  will give you rest."                   |
|                                                         |
|                             -- Jesus Christ (Mt. 11:28) |
+-----------------------+---------------------------------+
| Ernst de Haan         | email mailto:[EMAIL PROTECTED]  |
| Java programmer       | web   members.xoom.com/znerd/   |
+-----------------------+---------------------------------+


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to