Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2005

Tip: Looking for answers? Try searching our database.

GCJ and NIO with native binary code

Thread view: 
Fritz Bayer - 17 Apr 2005 09:08 GMT
Hello,

I have program, which does network communication using the new NIO
api. I would like to compile the program into native binary code for
linux.

I have managed to do so using Excelsior Jet and it works quite well.
Unfortunately it demand glib greater than 2.95.

I have also head that it's possible to produce a native binary version
of a java program using the java compiler GCJ.

On the projekt site I could not find a good documentation on how to go
about compiling a java program into native code.

Can somebody give me some examples on how to compile a java program
into navtive linux binary code (for a jar archive or a collection of
classes)?

Also I was wondering, whether or not the code will run my NIO code? I
have seen in the classpath that it's rated 100%. What does that
excatly mean?

fritz
ldv@mail.com - 17 Apr 2005 11:14 GMT
> I have program, which does network communication using the new NIO
> api. I would like to compile the program into native binary code for
> linux.
>
> I have managed to do so using Excelsior Jet and it works quite well.
> Unfortunately it demand glib greater than 2.95.

Did you check out the latest Excelsior JET 3.7? Its system reqs are
lower than of the previous version:

kernel 2.4 or above
glibc 2.2.5 or above
LinuxThreads 0.9 (or above) or NPTL 0.29 (or above)
the zip utility and z library (libz.so, any version)
Graphical tools require X11 and xterm.

http://www.excelsior-usa.com/jetsysreq.html

LDV
Fritz Bayer - 18 Apr 2005 07:49 GMT
> > I have program, which does network communication using the new NIO
> > api. I would like to compile the program into native binary code for
[quoted text clipped - 15 lines]
>
> LDV

The binaries created with JET do not meet the requirements under woody/debian
ldv@mail.com - 19 Apr 2005 15:06 GMT
I'd suggest that you file a defect report at
http://www.excelsior-usa.com/jetsupportform1.html
Fritz Bayer - 19 Apr 2005 19:54 GMT
> I'd suggest that you file a defect report at
> http://www.excelsior-usa.com/jetsupportform1.html

They already know it. I had contact with the technical staff. It's not
a bug. That's just the minimum requirement.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.