running my java program on another machine

Hi

I have built my program using the much maligned Borland JBuilder, so being quite proud of my new programe i want to run it on other machines, ie i want to put it on a cd and distribute it.!! So how do i do this, i understand that another machine will have JVM installed however is there somthing similar to .exe. Appreciate this may have been covered before but i think i may be confusing myself.. which aint hard

in anticipation many thanks

Nige

[475 byte] By [nigea] at [2007-11-27 8:47:43]
# 1
The equivalent to an .exe for a Java program is an executable jar: http://java.sun.com/docs/books/tutorial/deployment/jar/index.htmlThat tutorial shows you how to create one using the command line tool jar.exe.I'm sure JBuilder has a Wizard to help you do this, too.
BigDaddyLoveHandlesa at 2007-7-12 20:53:13 > top of Java-index,Java Essentials,Java Programming...
# 2
yeah, agree with you, I worked with JBuilder once and it has facility by which you can create executable jars or exe files for your program.
vineet.mangala at 2007-7-12 20:53:13 > top of Java-index,Java Essentials,Java Programming...
# 3
exes? What for? How do you run an exe under UNIX?
BigDaddyLoveHandlesa at 2007-7-12 20:53:13 > top of Java-index,Java Essentials,Java Programming...
# 4
> exes? What for? How do you run an exe under UNIX?Same as you would anything else. File extensions are meaningless to unix :-) rename any executable to blah.exe, and it will still runsecond answer: WINE
georgemca at 2007-7-12 20:53:13 > top of Java-index,Java Essentials,Java Programming...
# 5
> exes? What for? How do you run an exe under UNIX?Something you may very well have to do is grant execute permission on the executable file that was thus created. UNIX and Linux do not automatically grant execute privileges on files the way Winblows does.PS.
puckstopper31a at 2007-7-12 20:53:13 > top of Java-index,Java Essentials,Java Programming...
# 6
> Something you may very well have to do is grant execute permission on the > executable file that was thus created. UNIX and Linux do not automatically > grant execute privileges on files the way Winblows does.I forgot to add this::-) :-) :-) :-)
BigDaddyLoveHandlesa at 2007-7-12 20:53:13 > top of Java-index,Java Essentials,Java Programming...
# 7
> I forgot to add this:> > :-) :-) :-) :-)I make it a point to be useful once per day. Beyond that I make no promises.PS.
puckstopper31a at 2007-7-12 20:53:13 > top of Java-index,Java Essentials,Java Programming...