From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122034 invoked by alias); 1 Mar 2016 15:11:03 -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 121974 invoked by uid 89); 1 Mar 2016 15:11:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*F:D*my, H*F:D*com.my, H*R:D*my, kawa X-HELO: nm44-vm3.bullet.mail.gq1.yahoo.com Received: from nm44-vm3.bullet.mail.gq1.yahoo.com (HELO nm44-vm3.bullet.mail.gq1.yahoo.com) (67.195.87.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 01 Mar 2016 15:10:52 +0000 Received: from [127.0.0.1] by nm44.bullet.mail.gq1.yahoo.com with NNFMP; 01 Mar 2016 15:10:49 -0000 Received: from [216.39.60.183] by nm44.bullet.mail.gq1.yahoo.com with NNFMP; 01 Mar 2016 15:08:05 -0000 Received: from [106.10.166.114] by tm19.bullet.mail.gq1.yahoo.com with NNFMP; 01 Mar 2016 15:08:04 -0000 Received: from [106.10.151.202] by tm3.bullet.mail.sg3.yahoo.com with NNFMP; 01 Mar 2016 15:08:04 -0000 Received: from [127.0.0.1] by omp1014.mail.sg3.yahoo.com with NNFMP; 01 Mar 2016 15:08:04 -0000 Received: by 106.10.197.99; Tue, 01 Mar 2016 15:08:04 +0000 Date: Tue, 01 Mar 2016 15:11:00 -0000 From: burhanuddin baharuddin Reply-To: burhanuddin baharuddin To: "kawa@sourceware.org" Message-ID: <33660780.1240045.1456844883897.JavaMail.yahoo@mail.yahoo.com> Subject: Can't Compile To A Standalone Application Using Java 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <33660780.1240045.1456844883897.JavaMail.yahoo.ref@mail.yahoo.com> X-SW-Source: 2016-q1/txt/msg00031.txt.bz2 Hi, Has anyone managed to compile kawa source code to a standalone application using Java 8? When I run 'java MyProgram', I always get 'Error: Could not find or load main class MyProgram'. I did add '--main' argument during compilation. I can run the program using 'kawa MyProgram' though. The source file only has '(format #t "Hello, World~%")'. Do I need to define a main function or something?