This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java

 
sanjay shivastava
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how class file is converted into .exe file in details plz.
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic