Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

How to distribute Java Advanced Imaging as part of a custom installer

Thread view: 
Dobedani - 04 Jun 2007 16:29 GMT
Hi There,

We have developed a Java Web Start app. The customer now also wants an
offline installer for the Windows platform. I wrote a shell script and
included a check for Java Advanced Imaging (JAI). If it is not, the
Windows installer for JAI is started.
Apart from the fact that the script is giving problems, the customer
feels that the installer is not fancy enough. And if the user has more
than one JRE installed, the risk is that JAI is installed into the
wrong JRE.

Is it possible somehow to include the JAI files into a custom
installer, so that the user does not need to indicate into which JRE
he / she wants to install? If so, please tell me how to go about it!

BTW, any suggestions about what tools to use for developing a good
installer are welcome. TIA

Kind regards,
Dobedani
Andrew Thompson - 04 Jun 2007 16:42 GMT
...
>We have developed a Java Web Start app. The customer now also wants an
>offline installer for the Windows platform.

Had you investigated the JWS -import option?
<http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/javaws.html#options

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Dobedani - 04 Jun 2007 20:32 GMT
> >.. the customer now also wants an
> >offline installer for the Windows platform.
[quoted text clipped - 4 lines]
> --
> Andrew Thompsonhttp://www.athompson.info/andrew/

Dear Andrew,
Thanks for the reply. Yes, I am using that option in my script to
install my app. In addition, I tried to use that option to install the
JAI library, but it did not work. Did I do something wrong maybe? Have
you been successfull with it? TIA

Kind regards,
Dobedani
Andrew Thompson - 05 Jun 2007 08:04 GMT
>> >.. the customer now also wants an
>> >offline installer for the Windows platform.

( javaws -import ?)

>Thanks for the reply. Yes, I am using that option in my script to
>install my app. In addition, I tried to use that option to install the
>JAI library, but it did not work. Did I do something wrong maybe? Have
>you been successfull with it?

I have not yet tried importing simple apps., let alone
apps. that use extensions, but it is something I have
been meaning to try.

I *suspect* you might have to -import the extensions
in 'reverse order'.  That is, if application 'a' uses extension
'b', then to import it, you would need to first -import the
extension 'b', then afterwards -import the 'a' application.

To provide more help, I would require more detailed
information on the JNLP files(s) and exact input and
output.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Dobedani - 05 Jun 2007 11:59 GMT
> >> >.. the customer now also wants an
> >> >offline installer for the Windows platform.
[quoted text clipped - 17 lines]
> --
> Andrew Thompsonhttp://www.athompson.info/andrew/

Hi Andrew and others,
I tried again to import JAI. First I downloaded the file jai-1.1.3-
latest.jnlp from http://download.java.net/media/jai/webstart/release/
and then all JAR's and DLL's required for my platform as they are
listed in that JNLP file to directory C:\Temp. I then entered:
C:\TEMP>javaws -import -codebase file:/C:/Temp/jai-1.1.3-latest.jnlp

The library did not appear in the Java App Cache Viewer.
Then I moved all the JAR's and DLL's to this subdirectory:
1.1.3/windows-i586 and tried again. No success!

What other tricks could I try? Any suggestions are welcome! TIA

Kind regards,
Dobedani
Dobedani - 07 Jun 2007 13:51 GMT
Dear All,

For the record, I wish to report here which line we decided to follow
in order to obtain a so-called idiot proof offline installer for our
Java Web Start app. We made a MSI out of the JAI installer from Sun,
to enable silent instalation of JAI. Furthermore, I am working on a
KIX script to automate the installation tasks - see http://www.kixtart.org

HTH & Greetings,
Dobedani


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.