View Single Post
Old 10-27-2002, 04:17 AM   PM User | #1
kestrel7
New Coder

 
Join Date: Aug 2002
Location: Cape Town, South Africa
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
kestrel7 is an unknown quantity at this point
Making java bytecode easier to execute

Hi
I am wondering if there is an alternative to distributing Java programs with the JVM.

For instance, I am wondering if anyone has seen a Java compiler that produces machine code rather than bytecode? I've heard of them, but never ever seen them
(Yes, I know I lose the 'compile once, run everywhere' property but I'm willing to make that sacrifice

Alternatively, what is the easiest way to make the Java class file seem 'executable'
(but using the JVM). My Current approach is to use a bat file (or shell script). With the bat file I simply associate my .class files with it and I can then run it by double-clicking the class file containing my main method. However, some people find this a bit confusing since they are not used to running .class files. Is there a better way of achieving this?
kestrel7 is offline   Reply With Quote