From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76718 invoked by alias); 27 Jun 2017 13:47:18 -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 76699 invoked by uid 89); 27 Jun 2017 13:47:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,LIKELY_SPAM_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 13:47:15 +0000 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dPqpj-0002m9-Nw; Tue, 27 Jun 2017 15:47:11 +0200 Received: from 70-36-239-209.dsl.dynamic.fusionbroadband.com ([70.36.239.209] helo=localhost.localdomain) by mailfront12.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dPqpT-0000aL-HL; Tue, 27 Jun 2017 15:46:55 +0200 Subject: Re: class not found To: Damien MATTEI , kawa@sourceware.org References: <20170627101435.GA22591@moita.oca.eu> From: Per Bothner Message-ID: <4b4a1285-b004-3512-1499-9e0381b5e3b4@bothner.com> Date: Tue, 27 Jun 2017 13:47:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170627101435.GA22591@moita.oca.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00112.txt.bz2 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/