Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Distributing a Java App

  Asked By: Ryan    Date: Nov 30    Category: Java    Views: 1364

Do anybody knows how to distribute a small java app?
This is a very simple app, it connects to an Oracle
database and displays some results. I want to
distribute it among my co-workers.



5 Answers Found

Answer #1    Answered By: Bernard Gutierrez     Answered On: Nov 30

use ant to zip it down into a jar and then just give
it to them.

I hope this answers your question, but if it does not
let me know.

Answer #2    Answered By: Vilhelm Fischer     Answered On: Nov 30

Thanks for answering my question, but I still have a
doubt, if I give them the jar do they still need to
have the java  JDK on they computer?

Answer #3    Answered By: Kyle Fox     Answered On: Nov 30

Since I dont know your system I am unable to answer
that in a definative fashion; yes the will need
something to work with the java, if you do it though a
browser it should be just fine.

If not you may have to download the jdk if it is not
already there.

Answer #4    Answered By: Leonard Pierce     Answered On: Nov 30

They will need a JRE to run it. If you have the Java JRE then you can
run stuff, you need JDK to compile stuff.

Answer #5    Answered By: Elisabeth Bell     Answered On: Nov 30

to run jar files you need the jre (not jdk). in windows xp it is built in (prog
files\java). in 98 you must have to install jre if it is not there. (same path)

Didn't find what you were looking for? Find more on Distributing a Java App Or get search suggestion and latest updates.