Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about java executable

 
karan, chopra
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
karan, chopra
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic