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!!
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.
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.
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.
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.
> 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 :-)