File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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!
[ August 26, 2002: Message edited by: Brett Swift ]
Cindy Glass
"The Hood"

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
I agree. Here's the link:
subject: Deploying / Exporting and running Java
jQuery in Action, 3rd edition