public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Example of importing a jar (from ~/.m2/repository)
@ 2021-08-05  0:21 Phil Eaton
  2021-08-05  5:43 ` Alcides Flores Pineda
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Eaton @ 2021-08-05  0:21 UTC (permalink / raw)
  To: kawa

Hey folks,

New to Java and Kawa. I'm trying to import a web server library that I
installed through maven.

The minimal program I'm running is this (test.scm):

(import (class io.jooby Context))


And I run it by making all maven jars available in the CLASSPATH:

CLASSPATH="$(find ~/.m2/repository -name '*.jar' | paste -sd ';');." kawa
test.scm


But I get:

test.scm:2:16: no class found named io.jooby.Context


The io.jooby:jooby jar is
at ~/.m2/repository/io/jooby/jooby/2.10.0/jooby-2.10.0.jar.

What more should I do for Kawa to find the class?

Thanks!
Phil

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-05 17:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05  0:21 Example of importing a jar (from ~/.m2/repository) Phil Eaton
2021-08-05  5:43 ` Alcides Flores Pineda
2021-08-05 14:02   ` Phil Eaton
2021-08-05 15:54     ` Arvydas Silanskas
2021-08-05 16:11       ` Duncan Mak
2021-08-05 17:03         ` Phil Eaton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).