File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes question about java executable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "question about java executable" Watch "question about java executable" New topic
Author

question about java executable

karan, chopra
Ranch Hand

Joined: Jun 05, 2001
Posts: 115
hi all,
i am trying to make a windows executable file from the java class files and i am using a microsoft tool called "jexegen" for this.actually i have successfully generated the executable file but the problem is that it does not run on any other computer other than the one in which i generated it.when i run it on other computers i get an error called "cannot start application.unable to locate class file"..
does anybody know why am i getting this error.i do remember to install microsoft virtual machine on each computer before i try to run this executable(its a requirement) but still i get this error.dunno why..any ideas folks,would really really appreciate any help in this matter..
thanks a lot in advance
karan
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

It might be that the executable image did not bundle in some class that is important to the program. I haven't used that particular tool so I can't say if that's possible, but it seems pretty likely if it only works on the originating machine.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
karan, chopra
Ranch Hand

Joined: Jun 05, 2001
Posts: 115
hi,
but if did not bind with some class then it should not even work in the originating machine right?do you know of any other tools that help in converting java class files into a windows executable?please let me know if you do..
thanks
karan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question about java executable