Re: making swing application to launch from desktop
- From: Thomas Kellerer <FJIFALSDGVAF@xxxxxxxxxxxxx>
- Date: Fri, 31 Oct 2008 20:01:34 +0100
Then the JRE was not installed properly. Usually jar files should be linked to javaw.exe (in the registry). If you are seeing a console, they are opened using java.exe
Thomas
gwlucas07@xxxxxxxxxxx wrote on 31.10.2008 19:02:
Thanks. I've been trying to do something like this (with the main.
class
indicated in the Manifest within the jar), but at start up either Java
or Windows creates a console window which I'd prefer not to be seen.
Is there a setting I can use to suppress this?
G.
On Oct 31, 1:36 pm, RedGrittyBrick <RedGrittyBr...@xxxxxxxxxxxxxxxxx>
wrote:
gwluca...@xxxxxxxxxxx wrote:I been looking into ways of making a Swing application act like a* Create a suitable jar file. Copy to user's PC.
conventional program under windows. I'd like the user to launch the
thing by double clicking an icon on the desktop, see it on his start
window, etc. I'd also like it to run without opening up a console
window when it does. In other words, the user should neither care no
know that he is running a Java application rather than anything else.
As a bonus, I'd also like to be able to do the same thing under Linux
and Mac's
Anyway, I'm not having much luck with web searches (I guess I haven't
thought of the right keywords). Can anyone offer some pointers on how
to do this?
* Make sure the PC has JRE installed in the normal way.
* On the desktop & start-menu, create a shortcut to the jar.
Doing the last two steps ought to be doable by any reasonably IT-aware
person. There are many commercial and free installers that can be used
to produce Windows executable install files that do all or some of the
above for the end user.
--
RGB
- References:
- making swing application to launch from desktop
- From: gwlucas07
- Re: making swing application to launch from desktop
- From: RedGrittyBrick
- Re: making swing application to launch from desktop
- From: gwlucas07
- making swing application to launch from desktop
- Prev by Date: Re: 7.0 wishlist?
- Next by Date: Re: Java/TomCat How to Configure a Servlet contextPath
- Previous by thread: Re: making swing application to launch from desktop
- Index(es):
Relevant Pages
|