Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 11:27:29 -0600
From:      "Brian Henning" <b1henning@hotmail.com>
To:        "freebsd" <freebsd-questions@FreeBSD.ORG>
Subject:   java compiler
Message-ID:  <OE20E6Co56p94HSw27x00000d52@hotmail.com>

next in thread | raw e-mail | index | archive | help
I have heard that the new gcc compilers have the ability to compile java
source code into a binary.

I was told all I need to do is add the flag -x java and it will work.

For example: gcc -x java HelloWorld.java

when i tried this i get the following error:

gcc: Warning: `-x java' after last input file has no effect

Where could i find some docs to get this to work?

Thanks,

Brian

PS. i have also heard that there is a compiler gjc that can do the same
thing

is that a better way to solve my problem?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE20E6Co56p94HSw27x00000d52>