?
Solved

Java vs. Memory

Posted on 2002-05-13
4
Medium Priority
?
207 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 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/
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month17 days, 10 hours left to enroll

831 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