[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcj and --classpath



 Greetings,

I'm trying to build a large Java program using gcj-3.0, which compiles using "-classpath a.jar:b.jar:c.jar", but I get lots of errors saying that classes like String are missing.

I looked at the manpage, which mentions --classpath, so I tried adding the extra hyphen, to no avail.

What did work was adding ":/usr/share/java/libgcj.jar" to the -classpath list. But this confused me, because the manpage says system libs are supposed to be included automatically with (-)-classpath, just not with --CLASSPATH.

Is this a bug in (Debian's packaging of) gcj?

Zeen,
--

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe! <http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>




Reply to: