[svlug] Java on Linux

Thomas Michael Belote tbelote at cats.ucsc.edu
Sun Jan 21 12:16:01 PST 2001


I am running slackware 7, and I have tried to install both blackdown's jdk
ver 1.3.0 and sun's sdk ver 1.3.0. On both programs, I can compile java
programs fine, but when I make a jar file then try to run it i get the
following error:

bash: ./textfmt.jar: cannot execute binary file

but when I copy the file to a sun microsystems computer it runs fine. the
file is marked as an executable in the permissions. I have also tried
setting the classpath to several things but nothing has worked. Could
anyone please help me.

Thanks

Thomas Belote





More information about the svlug mailing list