Re: how to compile correctly

Arjan Boeijink <[email protected]> Wed, 29 Jun 2005 19:08:35 +0200
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
Hello Owen

>I download the example of fibo
>make directory
>d:\project\fibo
>project>nicec -a fibo.jar fibo
>but only get the following message
>Usage: java [-options] class [args...]
>           (to execute a class)
>   or  java [-options] -jar jarfile [args...]
>           (to execute a jar file)
>
>I don't know why.  
>may be nice not compatiable with jdk1.5?

Invoking the compiler that way should work.
Could you show us with which options java is called?
You can see it by removing the '@echo off' line in nicec.bat.

-- Arjan



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click