From: Michael C. <mi...@ca...> - 2007-07-30 01:53:50
|
actually you can run your application using java hello as well. I believe there is a soft link from java to jamvm. I always use java. ----- Original Message ----- From: "P G" <go...@ho...> To: <gum...@li...> Sent: Sunday, July 29, 2007 6:31 PM Subject: Re: [Gumstix-users] Simple java problem > Thanks for your help, but I was just stupid like I though. I was using the > line "jamvm hello.class" to run my program when all I need was "jamvm > hello". That's an hour of my life wasted. > > Cheers > Paolo > > >>From: "Michael Caughey" <mi...@ca...> >>Reply-To: "General mailing list for gumstix users." >><gum...@li...> >>To: "General mailing list for gumstix users." >><gum...@li...> >>Subject: Re: [Gumstix-users] Simple java problem >>Date: Sun, 29 Jul 2007 18:17:32 -0400 >>MIME-Version: 1.0 >>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by >>bay0-mc5-f20.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sun, >>29 Jul 2007 15:18:58 -0700 >>Received: from sc8-sf-list2-new.sourceforge.net >>(sc8-sf-list2-new-b.sourceforge.net [10.3.1.94])by >>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 5DDC7FE7C; Sun, 29 Jul >>2007 15:18:57 -0700 (PDT) >>Received: from sc8-sf-mx1-b.sourceforge.net >>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list2-new.sourceforge.net >>with esmtp (Exim 4.43)id 1IFH4z-000821-BEfor >>gum...@li...; Sun, 29 Jul 2007 15:17:38 -0700 >>Received: from mail11.atl.registeredsite.com >>([216.247.37.25]ident=[U2FsdGVkX19xRP93x6tpJ/MLDUwZHSpNFcBGGPH3LHU=])by >>mail.sourceforge.net with esmtp (Exim 4.44) id 1IFH51-0001lO-Fcfor >>gum...@li...; Sun, 29 Jul 2007 15:17:39 -0700 >>Received: from mymail.myregisteredsite.com >>(wmailnode1f.webmail.web.com[209.237.134.171])by >>mail11.atl.registeredsite.com (8.12.11.20060308/8.12.11) with SMTPid >>l6TMHZEC010810 for <gum...@li...>;Sun, 29 Jul 2007 >>18:17:36 -0400 >>Received: (qmail 21249 invoked by uid 80); 29 Jul 2007 22:17:35 -0000 >>Received: from unknown (HELO dev) (mi...@ca...@71.206.160.144)by >>209.237.134.180 with ESMTPA; 29 Jul 2007 22:17:35 -0000 >>X-Message-Info: >>5ZHoJh3ZkQ24jQa8V5dSgB1sthRWaTEcMQWvn3wgcQZFZLTQoWacbdR3nNU2SI4Y >>References: <BAY...@ph...l> >>X-MSMail-Priority: Normal >>X-Mailer: Microsoft Outlook Express 6.00.2900.3138 >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 >>X-Spam-Score: 1.0 (+) >>X-Spam-Report: Spam Filtering performed by sourceforge.net.See >>http://spamassassin.org/tag/ for more details.Report problems >>tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 RCVD_BY_IP >> Received by mail server with no name1.0 FORGED_RCVD_HELO >>Received: contains a forged HELO >>X-BeenThere: gum...@li... >>X-Mailman-Version: 2.1.8 >>Precedence: list >>List-Id: "General mailing list for gumstix >>users."<gumstix-users.lists.sourceforge.net> >>List-Unsubscribe: >><https://lists.sourceforge.net/lists/listinfo/gumstix-users>, >><mailto:gum...@li...?subject=unsubscribe> >>List-Archive: >><http://sourceforge.net/mailarchive/forum.php?forum_name=gumstix-users> >>List-Post: <mailto:gum...@li...> >>List-Help: >><mailto:gum...@li...?subject=help> >>List-Subscribe: >><https://lists.sourceforge.net/lists/listinfo/gumstix-users>, >><mailto:gum...@li...?subject=subscribe> >>Errors-To: gum...@li... >>Return-Path: gum...@li... >>X-OriginalArrivalTime: 29 Jul 2007 22:18:58.0229 (UTC) >>FILETIME=[7556A650:01C7D22E] >> >>I compile with the Sun JDK using Eclipse on my Windows machne and then >>move >>the class files or jar file to the gumstic and run it normally. works >>great. >> >> >>----- Original Message ----- >>From: "P G" <go...@ho...> >>To: <gum...@li...> >>Sent: Sunday, July 29, 2007 5:11 PM >>Subject: [Gumstix-users] Simple java problem >> >> >> > Hi, >> > >> > I feel a bit stupid to ask this question, but I'm running out of ideas. >> > >> > I've managed to get JamVM on my Gumstix (by including classpath, jamvm >> > and zlib in the buildroot and with a bit of tinkering), but now what >> > form of java do I need to upload to the Gumstix. Since it's a Virtual >> > Machine I assume it's byte code, but I haven't managed to get anything >> > working on it. I tried compiling with GCJ and trying to run both the >> > bytecode output or the object code without any luck. I also specified >> > to >> > use the libraries of classpath >> > >> > I compiled with this command: >> > gcj --classpath=/usr/local/classpath -c -C hello.java >> > >> > and I always get the same error: >> > >> > java.lang.NoClassDefFoundError: hello/o >> > <<No stacktrace available>> >> > Caused by: java.lang.ClassNotFoundException: hello.o not found in >> > java.lang.ClassLoader$1{urls=[file:/usr/share/classpath/], parent=null} >> > at java.net.URLClassLoader.findClass (URLClassLoader.java:901) >> > at java.lang.ClassLoader.loadClass (ClassLoader.java:342) >> > at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1110) >> > at java.lang.ClassLoader.loadClass (ClassLoader.java:294) >> > >> > >> > Can it be that the installation of jamVM is broken? >> > >> > Thanks >> > Paolo >> > >> > _________________________________________________________________ >> > See Fireworks On Live Image Search >> > >>http://search.live.com/images/results.aspx?q=Fireworks&mkt=en-ca&FORM=SERNEP >> > >> > >> > >>------------------------------------------------------------------------- >> > This SF.net email is sponsored by: Splunk Inc. >> > Still grepping through log files to find problems? Stop. >> > Now Search log events and configuration files using AJAX and a browser. >> > Download your FREE copy of Splunk now >> http://get.splunk.com/ >> > _______________________________________________ >> > gumstix-users mailing list >> > gum...@li... >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > >> >> >> >>------------------------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. >>Still grepping through log files to find problems? Stop. >>Now Search log events and configuration files using AJAX and a browser. >>Download your FREE copy of Splunk now >> http://get.splunk.com/ >>_______________________________________________ >>gumstix-users mailing list >>gum...@li... >>https://lists.sourceforge.net/lists/listinfo/gumstix-users > > _________________________________________________________________ > Windows Live Hotmail is the next generation of MSN Hotmail. It's fast, > simple, and safer than ever and best of all - it's still free. Try it > today! > www.newhotmail.ca?icid=WLHMENCA146 > > > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------------------------------------------------------------------------- > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |