wood burning stoves 2.0*
The moose likes Java in General and the fly likes Deploying / Exporting and running Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Deploying / Exporting and running Java " Watch "Deploying / Exporting and running Java " New topic
Author

Deploying / Exporting and running Java

Brett Swift
Ranch Hand

Joined: May 22, 2002
Posts: 61
I have developed a Java application using MySQL and using VisualAge 2.0. I have been able to export the .jar file and run that from a DOS window, however that is a nuissance because the DOS window stays open when the application is running. Is there a way of running the application outside of VAJ so that you don't have the DOS window open?
A follow up to that... if anyone knows how to export a MySQL database so I don't have to install the whole database onto the client machine, that would be GREAT too!
Thanks!
[ August 26, 2002: Message edited by: Brett Swift ]
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
You will want to be careful about that DOS window stuff. There is a javaw.exe that used to invoke java without that annoying window - but then there is nowhere to write console messages to . They ended up putting the DOS window BACK in javaw.exe, but making it so that the user can close it if they want. Then you just deploy it with the DOS window minimized.
Not a clue about MySQL.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deploying / Exporting and running Java
 
Similar Threads
DOS window still coming when I run the Application using javaw
How to restore mysql backup using java swing
DOS command window
Need help folks: Generating a DOS window.
Basic instructions for setting up/running mySQL