This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java -Dplugins.dir=./jars kawa.repl


Hello,

I finally discovered a solution to my problem of scripting imagej using kawa, here
is it:

	export CLASSPATH=.:./jars/ij.jar:./jars/nl-mean.jar:/opt/share/java/kawa-2.0.1.jar
	java -Dplugins.dir=./jars kawa.repl
		(import (ij-core) (ij-nl-mean))
		(define iplus1 (ij-open "images/nlm-small.png"))
		(ij-nl-mean iplus1 3)

Good, but I would like to set this plugins.dir from kawa instead, so I can do:

	export CLASSPATH=.:./jars/ij.jar:./jars/nl-mean.jar
	kawa
		(set! plugins.dir "./jars")
		...

But that fails, how do I do that?

Thanks
David

Attachment: pgpzLfC05wPue.pgp
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]