From: hari kt <kthari.iet@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: java compilling and running
Date: Mon, 29 Aug 2005 19:10:00 -0000 [thread overview]
Message-ID: <5ef31374050829121066ced3a2@mail.gmail.com> (raw)
Hi
I am a student.
I used to compile java from windows by
>javac filename.java
and run it by
>java filename
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
#gcj -c -g -O filename.java
There was no errors
#gcj --main=filename -o filename filename.o
There was also no errors
Now i dont know how to run it
I tried these
#./filename
#./filename.o
#gcjh filename
When i typed gcjh filename it says error abt swing applet
Plz help me
If you need any datas from me ask me and help me
With lots of thanks
--
Hari K T
S5 I T
CUIET
next reply other threads:[~2005-08-29 19:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 19:10 hari kt [this message]
2005-08-29 19:53 ` Arturas Moskvinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ef31374050829121066ced3a2@mail.gmail.com \
--to=kthari.iet@gmail.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).