From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52082 invoked by alias); 1 Apr 2017 09:35:55 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 51993 invoked by uid 89); 1 Apr 2017 09:35:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:Sat, HX-Received:Apr X-HELO: mail-ua0-f174.google.com Received: from mail-ua0-f174.google.com (HELO mail-ua0-f174.google.com) (209.85.217.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Apr 2017 09:35:53 +0000 Received: by mail-ua0-f174.google.com with SMTP id 17so6896893uah.0 for ; Sat, 01 Apr 2017 02:35:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EwP9Ft17fqG4iX+QusT9pw4sC8eBa+apG8K2bHzL6Is=; b=amBatv3WUAgNYWGpLVh8iWPkABxy+q1T4Tzpo9pUPzOODxMyBVCSyaaH3r8Wfy3oxI rT1Hi6zRA1BGff5Cu5KLKJZYdmxS+EmMnV5zbnnhNpvDB1VePQPzRpUjftsgvh6uLgE+ qjwsPMnmENHFlx/vXFOjsMcoHBsLxDRGLXF9SYubHXUTmg4UNw6gd72z7y0Um8Yn/O6+ HUN6M39ytqdJExKi0O+flyK9msuKXQCVsk0nDlYdsDflfl36qpvTggiUJkSUyvmauaeN wVszrZNE0Okq1MJQqa6kZDvqehqRAj9Mwrh++VG97MgecvMaXdD1+cdkcUKutmzOk7kY X4Gg== X-Gm-Message-State: AFeK/H1zalubq0SltRIXEM/0XaeYfQ34jA4gE3kdPjC0+yYkeApuG5nmH+OP4xp0lUduQwQjOxSFC64tQqOjoA== X-Received: by 10.176.67.164 with SMTP id l33mr2897217ual.53.1491039352533; Sat, 01 Apr 2017 02:35:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.81.136 with HTTP; Sat, 1 Apr 2017 02:35:52 -0700 (PDT) From: Vasantha Ganesh Date: Sat, 01 Apr 2017 09:35:00 -0000 Message-ID: Subject: Help, Setting classpath, using external java libraries with Kawa To: kawa@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00000.txt.bz2 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.