This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i'm sure you answered this a million times...just one more try:)

 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey folks,
i'm sure you were asked about it 349293838489234 times, but you know, i just don't have enough time to search the whole board for this. so please, make ma a favour and answer this once more
i want to run jar file (incl. application) on the machine which doesn't have a jvm. someone told me that there is a possibility to add howsome the jvm' dll file and send it together with jar. i didn't find anything about it, and it sounds prety crazy for me. so,
--->HOW can i make my jar executable in windows on the machine with no jvm installed?
10x a lot.
 
Nura Horne
Ranch Hand
Posts: 40
 
Nura Horne
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
although in my opinion it removes the whole point of java portability unless it is utmost u have blistering speed, and if you need that try c/C++/ASM
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can just bundle the JRE with your application code, and have the user download the whole shot. Then use a bat file to fire up the application and name the directory that you have the JRE in in the command line using the -d parameter.
There are tools out there available to help you create a zip file to download. I have seen InstallSheild used for such purposes, but there are others.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic