File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes i'm sure you answered this a million times...just one more try:) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "i Watch "i New topic
Author

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

Asher Tarnopolski
Ranch Hand

Joined: Jul 28, 2001
Posts: 260
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.


Asher Tarnopolski
SCJP,SCWCD
Nura Horne
Ranch Hand

Joined: Jul 26, 2001
Posts: 40
try here http://www.xlsoft.com/en/products/development/jet/index.html
Nura Horne
Ranch Hand

Joined: Jul 26, 2001
Posts: 40
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

Joined: Sep 29, 2000
Posts: 8521
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.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: i'm sure you answered this a million times...just one more try:)