Program distribution help

Some of the people I distribute my programs to have no internet connection to download all sorts of Java software to run my programs. So where could I get ahold of the necessary software so I may place it on my flash drive and allow them all to download it from there?

May seem silly or such, but just asking here saves me a lot of time and possible error. Thanks in advance!!

[389 byte] By [tehoverlorda] at [2007-11-26 14:44:25]
# 1
I would just like to know what all I should download so that the people can run my .jar files (some have been converted to .exe for fun and experimentation.)Thanks!
tehoverlorda at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 2

Just download the appropriate JRE offline installation bundles here at http://java.sun.com. Copy from your drive and install as necessary. Obviously you'll need to also have anything else you need to install, such as your application and any libraries or other application's it's dependent on like Java Advanced Imaging.

kablaira at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 3
I don't get it. what software? you must already have a JVM distro at your disposal. just bung that on your flash drive along with everything else. am I missing something?
georgemca at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 4

You can download the windows offline installer (which is an exe)

and use that.

Also, its no secret that you can actually just copy the entire JRE

folder and paste it and run off of it. Thats certainly not ideal but

its a workaround from download / installation / administrative privileges.

TuringPesta at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 5
At my prior company we included a JRE as part of our distribution.You should be able to download a JRE from the sun website.
es5f2000a at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 6
Thanks! So all I need to give them is this JRE installer and then they can all run my .jar files?
tehoverlorda at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 7

Probably. The installer should do all the work. Of course, that doesn't stop someone from screwing up their machine and the file type associations later! Plus, as I said before remember you need to include anything "special" that's not part of the J2SE which your application needs. If you just downloaded the JDK and developed with that then it doesn't, but if you downloaded a third party library, like Jakarta commons or XMLRPC or Java Advanced Imaging then obviously you'll need to install those too.

kablaira at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 8

Nope, I didn't do anything that complicated. All created through jGrasp and JDK. So I'll download the JRE and give that to them next time.

Now this may sound stupid but.... along with the .jar/.exe file do I need to include my classes and such? If so that may be another of my mistakes.

tehoverlorda at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 9

> Nope, I didn't do anything that complicated. All

> created through jGrasp and JDK. So I'll download the

> JRE and give that to them next time.

>

> Now this may sound stupid but.... along with the

> .jar/.exe file do I need to include my classes and

> such? If so that may be another of my mistakes.

I'm hoping your classes are what makes up said .jar :-)

georgemca at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...
# 10
This is true... oh wow, must have had like a lapse in thought. A severe one, hahaha.Thanks for the speedy answers!
tehoverlorda at 2007-7-8 8:32:07 > top of Java-index,Java Essentials,Java Programming...