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 / October 2007

Tip: Looking for answers? Try searching our database.

Self contained deployment problem?

Thread view: 
Knute Johnson - 30 Oct 2007 19:01 GMT
I need to send my client a copy of a Java program that I am working on.
 I need to send it on a CD with the runtime environment on it.  It will
be run on a Windows machine.  What I'm having trouble doing is finding a
way of starting the Java program without creating a DOS box along with
it.  I want to tell the client to mount the CD and click on an icon to
start the program.  I tried to write a C program with Visual C++ 2005
but it gives me assertion errors and I don't know how to fix it.  Any
ideas on any part of this?

Thanks,

Signature

Knute Johnson
email s/nospam/knute/

derek - 30 Oct 2007 21:24 GMT
> I need to send my client a copy of a Java program that I am working on.
> I need to send it on a CD with the runtime environment on it.  It will
[quoted text clipped - 5 lines]
> ideas on any part of this?
> Thanks,

use javaw.exe
Knute Johnson - 30 Oct 2007 22:40 GMT
>> I need to send my client a copy of a Java program that I am working on.
>> I need to send it on a CD with the runtime environment on it.  It will
[quoted text clipped - 7 lines]
>
> use javaw.exe

That's really helpful derek.

Signature

Knute Johnson
email s/nospam/knute/

Roedy Green - 30 Oct 2007 22:52 GMT
On Tue, 30 Oct 2007 11:01:03 -0700, Knute Johnson
<nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
someone who said :

>I need to send my client a copy of a Java program that I am working on.
>  I need to send it on a CD with the runtime environment on it.  It will
[quoted text clipped - 4 lines]
>but it gives me assertion errors and I don't know how to fix it.  Any
>ideas on any part of this?

You might have a look at how I write a self-installing CD for the
Replicator client.  see http://mindprod.com/products1.html#REPLICATOR
I use a tiny C program to kick Java Web start off to select a JNLP
file customised for the CD drive..  It assumes Java is preinstalled
though.  That is not too much to ask of users. You don't want to
install Java if they already have it.

See http://mindprod.com/jgloss/installer.html
for commercial solutions.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Knute Johnson - 31 Oct 2007 00:55 GMT
> On Tue, 30 Oct 2007 11:01:03 -0700, Knute Johnson
> <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
[quoted text clipped - 18 lines]
> See http://mindprod.com/jgloss/installer.html
> for commercial solutions.

Your program uses _spawnlp() and I tried _execl().  I think I'm having
some kind of a problem with my C compiler.

JSmooth looks promising.

Thanks,

Signature

Knute Johnson
email s/nospam/knute/



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



©2008 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.