Solved

Java vs. Memory

Posted on 2002-05-13
4
198 Views
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!!
0
Comment
Question by:powerade
4 Comments
 
LVL 16

Accepted Solution

by:
heyhey_ earned 50 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/
0
 
LVL 1

Expert Comment

by:XAN
ID: 7007896
Another possibility to get machine code is to use MS Visual Studio.
0
 
LVL 4

Expert Comment

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

Author Comment

by:powerade
ID: 7012511
Thanks.  This'll work!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 74
micro services vs rest web services 16 84
eclipse package explorer vs project explorer view 2 79
github account with ecipse 1 42
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now