Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 jar to win32 exe?
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
foobar247




PostPosted: Thu Nov 04, 2004 5:11 pm   Post subject: jar to win32 exe?

anyone know a good packager/installer that i can use to make windows executables out of jar or .class files? hopefully opensource, i.e. free Very Happy
Sponsor
Sponsor
Sponsor
sponsor
Andy




PostPosted: Thu Nov 04, 2004 6:17 pm   Post subject: (No subject)

u mean compiler?? have u tried Jcreator?
foobar247




PostPosted: Thu Nov 04, 2004 6:49 pm   Post subject: (No subject)

well not a compiler per se, as sometimes i don't have the source code to recompile. more like something that will package a preexisting java program into a windows exe file.
i am using jcreator le version, however i am not aware of such an option in it,
Tony




PostPosted: Thu Nov 04, 2004 6:54 pm   Post subject: (No subject)

.class files are java's executables Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
foobar247




PostPosted: Thu Nov 04, 2004 7:41 pm   Post subject: (No subject)

yes, i am aware of that. i think the point of the question was missed.
what i am looking for is a wrapper that wraps a jar file into an exe file so say i want to distribute the java program to someone who has no idea how to do anything besides double clicking on program icons can run and install the thing.
for example, java's netbeans ide is a java program wrapped into exe form.
rizzix




PostPosted: Thu Nov 04, 2004 7:45 pm   Post subject: (No subject)

http://jsmooth.sf.net

enjoy
rizzix




PostPosted: Thu Nov 04, 2004 7:45 pm   Post subject: (No subject)

dodge_tomahawk wrote:
u mean compiler?? have u tried Jcreator?


dodge, jcreator is not a compiler.. it's just an IDE.
wtd




PostPosted: Thu Nov 04, 2004 7:46 pm   Post subject: (No subject)

Doing this would be rather unwise. Simply advise clients to install the Java runtime if they don't already have it installed. Modern Java setups do a great job of translating Java bytecode to native code when you run programs.
Sponsor
Sponsor
Sponsor
sponsor
rizzix




PostPosted: Thu Nov 04, 2004 8:00 pm   Post subject: (No subject)

yes it's unwise. but as u might have noticed (or maybe not).. in the world today.. java products are shipped with a jar file and a .executable warpper for the specific platform, be it: windows, osx or linux. the reason for this is simple,, the unnecessary wrapper brings about consisitancy within the os it self.

for ex:
a majority of windows users know to run a program it has to be a .exe file.. not many of them realise that a .jar file is double-clickable too.. and hence to make things quite consistant with the way things have always been in that specific platform.. an executable wrapper comes in handy.. of course the wrapper does not replace the .jar (although jsmooth give u the option to do that as well) it simply adds in an extra .exe for the additional (what should i call it) ease-of-use?
foobar247




PostPosted: Thu Nov 04, 2004 10:24 pm   Post subject: (No subject)

thanks rizzix. sweet program.
now i can even bundle up a jvm with my jar to make it even more stand alone. ha
rizzix




PostPosted: Thu Nov 04, 2004 10:26 pm   Post subject: (No subject)

yes but that would seriously increase your program size heh.. i dont suggest it.. what i do suggest is to force the users to download the latest jvm instead. somehow.
wtd




PostPosted: Thu Nov 04, 2004 10:28 pm   Post subject: (No subject)

rizzix wrote:
yes but that would seriously increase your program size heh.. i dont suggest it.. what i do suggest is to force the users to download the latest jvm instead. somehow.


If your program is worth running, then people will.

Of course, many will already have a JVM for applets on game sites and such.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: