Java vs. Memory

Posted on 2002-05-13
Medium Priority
Last Modified: 2010-03-31
Hi there,

  I was wondering if there was a way to force Java to compile into machine code (ie. 1's and 0's) rather than byte code?  I know it wasn't meant to, but I'd like to know if it can be done.

  We've got a consistent office environment here (ie. all the PC's are exactly the same.  All have a lousy 64Mb of RAM), and I'm trying to cut back on the amount of RAM that the Java programs use on the clients.  Any ideas?  Thanks in advance!!
Question by:powerade
LVL 16

Accepted Solution

heyhey_ earned 200 total points
ID: 7007802
there are several java-to-native code compilers available. I have used a couple of them long time ago - IBM HPJ (not available any more ?), www.towerj.com, gcc.gnu.org/java/

Expert Comment

ID: 7007896
Another possibility to get machine code is to use MS Visual Studio.

Expert Comment

ID: 7008205
VisualCafe ships with a native win32/x86 compiler/linker.

Author Comment

ID: 7012511
Thanks.  This'll work!!

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question