Christoph,

You can also use javaw instead of java to run your program so that the
user doesn't see or get left with an ugly DOS box used to spawn the Java
program.

- John Wright
Starfire Research

"Stanley, Robert" wrote:
>
> Hello Christoph,
>
> You can include the jre folder with your java application, so that the user
> does not have to install java in order to run your application. The jre
> folder is the java runtime environment, provided by Sun's website
> (java.sun.com).
>
> You can include a batch file (your_app.bat, for example) with your
> application, which is a simple DOS script file (an ascii text file). This
> script file can be run just like a .exe file. The content of the script file
> looks something like this:
>
> jre\bin\java -cp . -Xms200m -Xmx200m -jar your_app.jar
>
> The "your_app.jar" is your .jar file that you have created using cafe or the
> jdk.
>
> The "-Xms200m -Xmx200m" allocates 200 Megabytes of RAM for the java
> interpreter. This is optional, of course.
>
> In this example, the jre folder is a subfolder of the folder where the .jar
> file and .bat file are.
>
> I've done this on many occasions.
>
> Rob
>
> -----Original Message-----
> From: Christoph Widmer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 21, 2000 9:48 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Java 3D application distribution for WinNT
>
> What is the best solution for a Java 3D application distribution for the
> WinNT
> platform? Ideally, this should be a single .exe or self-extracting file
> including
> the 1.2 jre, j3d libraries and my application. Also, users should be able to
> start
> the application from a desktop icon just like any other Windows application,
> i.e. I don't want to have a command window or the like. Does Visual Café
> support this?
>
> Thanks, Christoph
>
> PS: I'm aware this might be a sensitive topic among Java purists, but the
> fact
> is that within my corporate environment, all users have Wintel machines and
> it would be asked too much of most users to install Java and use command
> line to start the application.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to