wood burning stoves
The moose likes Beginning Java and the fly likes java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java" Watch "java" New topic


sanjay shivastava

Joined: May 29, 2001
Posts: 2
how class file is converted into .exe file in details plz.
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388

it's converted using a native code compiler (i think).
this would result in os depended code.
you can do a executable jar archive. the jar runs your app automaticly if extensions are properly assigned (jre installed) on the computer. this is a jar archive with a special entry in the manifest file. sorry but i dont know the exact syntax by heart.... but try search the javaranch, there are examples.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
If you just want to START a java application, the easiest way is to create a .bat file that contains the commands just like you would type them at the command prompt.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link: http://aspose.com/file-tools
subject: java
It's not a secret anymore!