I've been trying to get Java working on my FreeBSD 7.1 server. I just want the runtime, since the JDK drags all kinds of unnecessary dependencies with it, and I just need it to run a jar file periodically. I've installed the FreeBSD-supported diablo-jre, but whenever I try to run it, I get a:
/usr/local/diablo-jre1.6.0/bin/java: 2: Syntax error: "(" unexpected
So what to do?