🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16598

Re: Hide DOS Window for java applications

#16598
From: Steve Horsley
Date: Fri, 29 Jan 1999 00:00
20 lines
1069 bytes
Kiran Deshpande wrote:
> 
> Hi ,
> 
> How to hide a DOS box when you create a java application.
> 

try a 2-line batch file like this:

path d:\java\jdk1.1.7\bin;%path%
start jrew -cp McTest.jar McTest

A dos box gets opened to run the batch file, but closes again 
in a fraction of a second when the batch file finishes.

If you make a short-cut to the batch file, you can configure
it to run minimized, so they don't even see a flicker of
black window.

Steve.
Technical Details
Message-ID: <36B1D458.EBA@cwcom.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36B08EFF.452F821B@incentric.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ab90517c6e0a9e3e
X-Google-Attributes: gidf74b3,public
From: Steve Horsley <steve.horsley@cwcom.co.uk>
Subject: Re: Hide DOS Window for java applications
Date: 1999/01/29
Message-ID: <36B1D458.EBA@cwcom.co.uk>
X-Deja-AN: 438364821
Content-Transfer-Encoding: 7bit
References: <36B08EFF.452F821B@incentric.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: steve.horsley@cwcom.co.uk
Newsgroups: borland.public.jbuilder.java.language