Compile

Felix Schmidt schmidtfx at googlemail.com
Mon Nov 22 14:03:52 PST 2010


I got the following error

CTest.java:4: '{' expected
         #int() fortyTwo = #()(42);
          ^
CTest.java:4: <identifier> expected
         #int() fortyTwo = #()(42);
             ^
CTest.java:4: ';' expected
         #int() fortyTwo = #()(42);
              ^
CTest.java:4: '{' expected
         #int() fortyTwo = #()(42);
                            ^
CTest.java:4: ';' expected
         #int() fortyTwo = #()(42);
                             ^
CTest.java:4: not a statement
         #int() fortyTwo = #()(42);
                              ^
6 errors



On 11/22/2010 10:46 PM, Rémi Forax wrote:
> On 11/22/2010 09:49 PM, Felix Schmidt wrote:
>    
>> Maurizio,
>>
>> thank you for your reply. I compiled the langtools :)
>>
>> But how can I compile my application with the closures feature?
>>
>> langtools/dist/bin/javac CTest.java ?
>>
>> Thank you
>> felix
>>      
> java -cp classes.jar:. com.sun.tools.javac.Main CTest.java
>
> Rémi
>
>
>    



More information about the lambda-dev mailing list