I have a new project where I need to make my program run off a CD.
By this I mean -
I have a java frame which uses a database to load its content, which means in order for me to use the program on any given machine I need to
A. make sure java is installed
B. make sure MS Access is installed
C. put a driver file into the java directory
D. register my database file with windows
The goal is to take a CD, throw it in a windows xp machine, and have these things happen and the java frame open up.
Anybody know where to get started on this, or if it's even possible?
Thanks,
Rivenwry
Wed Sep 22, 04 12:02 pm
dinangkur Super Moderator
Joined: 24 Mar 2004 Posts: 491
Location: Dhaka, Bangladesh
Post subject:
I believe everything can be done with installshield to create such setup. So, when you load the CD, just click for autoplay and run the program to load the program in your destine PC.
-DK _________________ ...we too are stardust...
Wed Sep 22, 04 9:44 pm
quantum Site Admin
Joined: 07 Mar 2004 Posts: 1048
Location: Dhaka, Bangladesh
Post subject: Making a stand alone java and database program for CD
Hi rivenwry,
Good to see you again. Where have you been?
Now I know what you are looking for and it is entirely possible. You can pass along an Access database in a CD quite fine. But for the Java you have to make a jar file, I suggest you look into that. Actually we made a product like this in java to distribute in a cd. Belal can give you more details on it. I will have him answer to you. No worries. :) _________________
Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Yea, I had a class in applications of circuits that had a "3 hour lab" which pretty much was my full time job for the summer. So my dreams of learning network security were - delayed.
Funny that now that summer is over and school is restarting, I'll have some free time to start on that again. On the plus side, that heinous class is water under the bridge.
So I'll be back haunting the forums trying to leech knowledge off you "big fish" :)
Joined: 08 Mar 2004 Posts: 84
Location: Dhaka, Bangladesh
Post subject:
Hi Rivenwry1,
I need to know few things more.
-Do you like to distribute your product with CD and want user to click the .exe or .jar file to start it automatically?
Or,
-You like to know how your main frame will start when insert the CD into CD-Rom!
For both one you have to make a .jar file or .exe file (with third-party software help) of your application main frame.
Of course, to run a java application machine should have JVM run into it.
If you can successfully convert your java application into a native language and make .exe file than JVM may not be necessary.
To know about making autorun file to run exucatable file when CD gets into the CD-Rom ask quantum. He will help you.
Please be more specific, hope I can help you with some info or required things.
Thanks
belal _________________ we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
I'd like just to put the cd in and have it autorun with both an "install" that will check for necessary components on the computer ( Access, JVM ) and register the database with windows, and also a "run" that just runs the program ( assuming it's already been installed ).