• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Installation of Application developed in Java Swings

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Ranchers,

I have developed an application in Java Swings. I want to start deploying in my clients computer. If I give out the class files with JRE, the client's can't install. To avoid that, is there any way, I can write an installation script, so that when my client's click an icon and he can be able to install by clicking the instructions in the screen.

Also the following things need to be installed.
1. JRE
2. Class files
3. an exe file short cut in the desktop for the clients to login.


Please may I have your feedback.

Thanks/Regards

Aravind Prasad
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aravind,
Maybe Java Web Start can help you?

Good Luck,
Avi.
 
Sheriff
Posts: 22815
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could try using something as NSIS or InnoSetup. Also, you should start using JAR files instead of loose class files.

The trickiest part of this setup would be the check whether or not Java is already installed, although a registry check (key HKLM\SOFTWARE\JavaSoft\Java Runtime Environment has a value called CurrentVersion) can help you out with that.
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic