Solved

Java vs. Memory

Posted on 2002-05-13
4
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

726 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