[svlug] Java on Linux
Erik Steffl
steffl at bigfoot.com
Sun Jan 21 12:52:02 PST 2001
Thomas Michael Belote wrote:
>
> 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.
not sure if it will help but there is an option in kernel to support
various binaries, you might want to check that.
I guess you can also run it explicitly invoking java, something like
java your.jar or something like that...
erik
More information about the svlug
mailing list