* Compiling java files which has other Imports
@ 2009-06-10 4:42 Vaijayanthi Mala Suresh
2009-06-10 8:40 ` Andrew Haley
0 siblings, 1 reply; 2+ messages in thread
From: Vaijayanthi Mala Suresh @ 2009-06-10 4:42 UTC (permalink / raw)
To: java
Hi All,
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
Thanks
Mala
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compiling java files which has other Imports
2009-06-10 4:42 Compiling java files which has other Imports Vaijayanthi Mala Suresh
@ 2009-06-10 8:40 ` Andrew Haley
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2009-06-10 8:40 UTC (permalink / raw)
To: Vaijayanthi Mala Suresh; +Cc: java
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-10 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-10 4:42 Compiling java files which has other Imports Vaijayanthi Mala Suresh
2009-06-10 8:40 ` Andrew Haley
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).