Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com From: "Luis Torres" To: "cygwin@cygwin.com" Date: Tue, 09 Dec 2003 11:41:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Running Java application from within bash shell. How to? Message-ID: Hello, I have been trying to get the freeware BHPViewer from Int (www.int.com), running under W2k+Cygwin. The application runs in Java and relies on underlying layers: SU+BHP_SU, (GNU - http://www.cwp.mines.edu/cwpcodes/) which have been compiled to run under Cygwin successfully (thus extending the support beyond IRIX, Linux, Sun). The problem is that the Java code, calls the Cygwin *.sh + *.exe. I solved the problems related to the CLASSPATH and the Java interface launches, from within the Bash shell. However it seems to invoke cmd.exe to execute the *.sh+*.exe. How do other people solve this problem in general?. Replace the shell cmd.exe under ComSpec env variable?. Use another Java Cygwin specific build?. Thank you. Regards, Luis Torres torres@igm.pt -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/