You should look at writing it as a servlet and using Apache JServ
(details at www.apache.org), instead of trying to find a Java
bytecode-to-native-code compiler. So far as I know, there isn't one
that's complete enough yet to be useable.

--Jeff


Chengyan Che wrote:
> 
> Hi Friends,
> 
> I am kind of newbie to both java and linux. Using JDK1.1.1, I've made a
> small java application which is intended to be used as a CGI script running
> on Linux(RedHat), Apache as http server. But how can I compile it into a
> native Linux machine code executable, instead of a .class file? I don't find
> any options for "javac" to achieve this. Where can I find such a compiler?
> 
> Thanks in advance for any input.
> 
> Chengyan
> 

-- 
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
======================================================================
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"

The views expressed herein do not necessarily reflect those of my
employer.

Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to