public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Vasantha Ganesh <vasanthaganesh.k@gmail.com>
To: kawa@sourceware.org
Subject: Help, Setting classpath, using external java libraries with Kawa
Date: Sat, 01 Apr 2017 09:35:00 -0000	[thread overview]
Message-ID: <CAL0TjKoPOdeevCbyW995MdXAEw88kTinoppousMrECkAM6FvnA@mail.gmail.com> (raw)

Hello Bothner,
  This is probably a noob question. In Java while compiling and using
external libraries  we use -classpath option. How to use external java
libraries with Kawa?

I read https://www.gnu.org/software/kawa/Compiling.html

Then I tried to compile scheme program with `--main` and `-C` options
and generated a .class file. Then I tried to  run it with Java like a
normal class file by setting -classpath option, but I get:

Error: Could not find or load main class somescript

I also tried the -J option with kawa and I get

Error: Could not find or load main class

I also tried to set the CLASSPATH to the external library (jar file),
it does not work.

Vasantha Ganesh K.

             reply	other threads:[~2017-04-01  9:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01  9:35 Vasantha Ganesh [this message]
2017-04-01 11:23 ` Sudarshan S Chawathe
2017-04-01 12:54 ` Per Bothner
2017-04-01 13:11   ` Vasantha Ganesh
2017-04-01 13:16     ` Vasantha Ganesh
2017-04-01 13:17     ` Per Bothner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL0TjKoPOdeevCbyW995MdXAEw88kTinoppousMrECkAM6FvnA@mail.gmail.com \
    --to=vasanthaganesh.k@gmail.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).