public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* class not found
@ 2017-06-27 10:14 Damien MATTEI
  2017-06-27 13:47 ` Per Bothner
  0 siblings, 1 reply; 2+ messages in thread
From: Damien MATTEI @ 2017-06-27 10:14 UTC (permalink / raw)
  To: kawa

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)

regards,
Damien
 

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

* Re: class not found
  2017-06-27 10:14 class not found Damien MATTEI
@ 2017-06-27 13:47 ` Per Bothner
  0 siblings, 0 replies; 2+ messages in thread
From: Per Bothner @ 2017-06-27 13:47 UTC (permalink / raw)
  To: Damien MATTEI, kawa

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/

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

end of thread, other threads:[~2017-06-27 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 10:14 class not found Damien MATTEI
2017-06-27 13:47 ` Per Bothner

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).