• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Making

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear friends,
I have been making an application in visual age for java and have now reached a stacge wher i would like to share it with other people. Could you kindly tell me
1) How do i package the apllication without using 3rd party software that cost a fortune.
2) how do i get a jre and package it in a zip/or any other format so that it is downloadable on the net
3) how do i make it run on a machine which does not have jdk installed?
I would really appreciate your help in this regard
Thanks in advance
Divyajot
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Divyajot,
This is a really broad question, but I think the best answer is to read up on the JAR (Java Archive) file format( http://java.sun.com/products/jdk/1.1/docs/guide/jar/ )... it's basically (in fact, almost exactly ) like a ZIP file... as far as the other questions go... is it possile to run your application as an applet? That would solve alot of the problems you mention... If not, just tell people to download the JRE, it's not that big... (You could also do some kind of Java to native code compilation thing, but I don't really recommend it...)
HTH,
-Nate
 
Divyajot Ahluwalia
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Nate,
thank you for your answer.
I now gather that i will need 2 things 1) the class files of the application and 2) a copy of a jre
The class files are put in a jar file but how do i get a jre and put it in one installation unit?
I would really appreciate your extended help.
Thanks a ton
Divyajot
 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You like VA right? VA has a jar tool so it is easy to make a jar file which is downloadable. Jre is available from SUN site and it will not be necessary if your application feature limited in JDK1.1.4 as most browser support this version as long as the target has a browser.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sun offers the JRE for free at: http://java.sun.com/j2se/1.3/jre/download-windows.html

This is the doco on how to package it up: http://java.sun.com/products/jdk/1.1.7B/jre/example/index.html
reply
    Bookmark Topic Watch Topic
  • New Topic