My frustration with (and subsequent hatred of) Jython is unrivaled.
It’s that fucking CLASSPATH which is currently biting my ass with its back teeth. I’ve been dicking with it for the last 6 hours, and cannot get it to work. It is a theoretically-simple problem… so simple, in fact, that there are exactly zero pages on the entire fucking Internet which address the particular problem I’m having.
So, yeah… where explicitly do you specify the CLASSPATH? In the “.profile” file in my home directory? Suck it, tried it. In the “registry” file in the Jython install directory? Fuck off, tried that, too. Append the /path/to/goddamned/java/file to my sys.path inside Jython? Get the fuck out, tried that, as well.
Obviously, I’m the biggest dullard on the face of the Earth to ever attempt using Jython. Every “helpful” tip on the Tubes only goes so far as to mention the CLASSPATH issue and/or problem. The actual solution to the problem is always implied!
“Oh, it’s a CLASSPATH issue! *smacking forehead* What an idiot I’ve been! That’s so easy to fix!”
Update July 2, 2007: Well, it appears that one particular way to find success (and respite from smashing my head against the keyboard) is to write a shell script with a bunch of “export CLASSPATH” statements and the… um… proper line syntax and arguments to call the script. Hint: it starts with “java”, not “jython”. A small measure of success to be sure… but it’s better than frothing murderously at the mouth for hours on end.