public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: Vaijayanthi Mala Suresh <vaijayanthimalas@gmail.com>
Cc: java@gcc.gnu.org
Subject: Re: Compiling java files which has other Imports
Date: Wed, 10 Jun 2009 08:40:00 -0000	[thread overview]
Message-ID: <4A2F7177.4050609@redhat.com> (raw)
In-Reply-To: <6f1633170906092142q9f7aa48lf43a09b391f2fd4d@mail.gmail.com>

Vaijayanthi Mala Suresh wrote:

> I have imported another java file from a package (jar file). This
> package is converted into a static ibrary .a
> If I compile the HelloWorld.java which has the import com.test.Hello. it fails.
> 
> import com.test.Hello;
> 
> class HelloWorld
> {
>    HelloWorld()
>    {
>        Hello tst = new Hello();
>        tst.printMessage();
>    }
> }
> 
> -gcj -c HelloWorld.java
> 
> -gcj -c HelloWorld.java -L. -lNatHello.a
> 
> Can anyone please help me

Yes, but we need a little more information.  A full test case, please.

Andrew.

      reply	other threads:[~2009-06-10  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10  4:42 Vaijayanthi Mala Suresh
2009-06-10  8:40 ` Andrew Haley [this message]

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=4A2F7177.4050609@redhat.com \
    --to=aph@redhat.com \
    --cc=java@gcc.gnu.org \
    --cc=vaijayanthimalas@gmail.com \
    /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).