You can launch an app enclosed in a JAR file by adding the following line to
your manifest file:

Main-class: <class name with main method in it>
(double-check the JAR specs to make sure that the tag is correct)

Once your JAR is set up this way, you can double-click on its icon to launch
it under Windows or in Solaris's File Manager program.  Or you can run it
via command line as follows:

java -jar <jar file name>

Alternatively, you can set up a desktop icon that runs your app with javaw
which will not launch a DOS shell.

Hope that helps.

Roberto Speranza
President, Dot Internet Solutions Inc.
mailto:[EMAIL PROTECTED]
http://www.dotinc.net/
----- Original Message -----
From: Tim Bray <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: November 16, 1999 7:19 PM
Subject: [JAVA3D] At my wits' end


> This NT problem that I posted about recently is getting stranger and
> stranger.   Now I have to reboot NT between every two runs of my app,
> if I start it with "java arg arg arg arg arg" in a DOS window
>
> Clue: it doesn't happen when running as an applet in IE5
> Clue: NT Workstation 4.0 SP 4
> Clue: it gets up to the point where all my initialization ends and
>       then it just sits there with a white screen
> Clue: java -version says
>         Classic VM (build JDK-1.2.2-001, native threads, symcjit)
> Clue: it sits there and churns away CPU like mad
> Clue: the KeyboardNavigator is running and in fact working, I get lots
>       of messages from my code about where I am, it just doesn't render
>       anything
> Clue: Viper v770 32M video card
>
> So, the questions I'm asking are:
>
> - what tools are there to poke around inside Java/J3D and find out what
>   they think they're rendering?
> - what's a good way to launch java apps that doesn't depend on
>   the DOS command line?
>
> Tim
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the bod
y
> 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