From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3224 invoked by alias); 29 Aug 2005 19:53:35 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 3125 invoked by uid 22791); 29 Aug 2005 19:53:26 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.195) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 29 Aug 2005 19:53:26 +0000 Received: by zproxy.gmail.com with SMTP id n1so647781nzf for ; Mon, 29 Aug 2005 12:53:25 -0700 (PDT) Received: by 10.36.121.15 with SMTP id t15mr1170122nzc; Mon, 29 Aug 2005 12:53:23 -0700 (PDT) Received: by 10.36.126.17 with HTTP; Mon, 29 Aug 2005 12:53:23 -0700 (PDT) Message-ID: <4a618d08050829125314a3b651@mail.gmail.com> Date: Mon, 29 Aug 2005 19:53:00 -0000 From: Arturas Moskvinas To: hari kt Subject: Re: java compilling and running Cc: gcc-help@gcc.gnu.org In-Reply-To: <5ef31374050829121066ced3a2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5ef31374050829121066ced3a2@mail.gmail.com> X-SW-Source: 2005-08/txt/msg00296.txt.bz2 Here is the page where you'll find how correctly install java on your system:http://www.fedorafaq.org/fc2/ Gcj is an effort of gnu to make a free replacement for sun java, because sun licence is proprietary, however not all the functionality is available. I recommend removing gcj from your system so gcj and sun's jdk won't conflict (try using "yum remove") Arturas Moskvinas On 8/29/05, hari kt wrote: > Hi > I am a student. > I used to compile java from windows by > >javac filename.java > and run it by > >java filename >=20 > Now I like to know how to compile java in linux so i downloaded sun > javas compiller and compiller but my fedora core 2 is telling errors > by trying i found the in built command gcj > so i compilled using=20 > #gcj -c -g -O filename.java > There was no errors > #gcj --main=3Dfilename -o filename filename.o > There was also no errors > Now i dont know how to run it >=20 > I tried these > #./filename > #./filename.o > #gcjh filename > When i typed gcjh filename it says error abt swing applet > Plz help me=20 > If you need any datas from me ask me and help me=20 > With lots of thanks >=20 > --=20 > Hari K T >=20 > S5 I T >=20 > CUIET >