« Return to Thread: main method in file with class and object?

Re: main method in file with class and object?

by Bill Venners :: Rate this Message:

Reply to Author | View in Thread

Hi Alex,

On Jan 16, 2008, at 11:36 PM, Alex Cruise wrote:

> On 16-Jan-08, at 8:05 PM, John Tyler wrote:
>> I then compiled with "scalac MyApp.scala", but when I run with  
>> "scala MyApp" from the same directory I get:
>> java.lang.NoSuchMethodException: MyApp.main([Ljava.lang.String ;)
>
> http://lampsvn.epfl.ch/trac/scala/ticket/363
>
>
In which case I'll hold my horses until it is sorted out.

Bill

 « Return to Thread: main method in file with class and object?