public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Damien MATTEI <damien.mattei@oca.eu>, kawa@sourceware.org
Subject: Re: class not found
Date: Tue, 27 Jun 2017 13:47:00 -0000	[thread overview]
Message-ID: <4b4a1285-b004-3512-1499-9e0381b5e3b4@bothner.com> (raw)
In-Reply-To: <20170627101435.GA22591@moita.oca.eu>

On 06/27/2017 03:14 AM, Damien MATTEI wrote:
> hello,
> 
> when trying this:
> (java.util.Properties.System:getProperty "path.separator")
> i got a warning at compilation:
> [mattei@moita Jkawa]$ java -cp /usr/local/share/java/kawa-2.1.jar:/home/mattei/NetBeansProjects/Sidonie/build/web/WEB-INF/classes kawa.repl --output-format html -C DBtoWebObserversKawa.scm
> (compiling DBtoWebObserversKawa.scm to eu.oca.kawafunct.DBtoWebObserversKawa)
> DBtoWebObserversKawa.scm:180:9: warning - no known slot 'getProperty' in java.lang.Object
> /home/mattei/Dropbox/Jkawa/../git/LOGIKI/lib/set.scm:132:3: warning - no declaration seen for andmap
> DBtoWebObserversKawa.scm:180:9: warning - no declaration seen for java.util.Properties.System
> 
> setting the CLASSPATH variable does not change the problem,the application crash when arriving on the statement at execution
> 
> seems not to be a guage syntax problem in my code, so what is the good compilation option?(or runnning? environment)

Kawa says 'no declaration seen for java.util.Properties.System'.  And Kawa is right.
It should be 'java.lang.System', as in:

(java.lang.System:getProperty "path.separator")
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

      reply	other threads:[~2017-06-27 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-27 10:14 Damien MATTEI
2017-06-27 13:47 ` Per Bothner [this message]

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=4b4a1285-b004-3512-1499-9e0381b5e3b4@bothner.com \
    --to=per@bothner.com \
    --cc=damien.mattei@oca.eu \
    --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).