Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
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:
subject: java