converting win batch file to Unix/Linux exe


Subject: converting win batch file to Unix/Linux exe
From: Mehran (cf680@yahoo.com)
Date: Sun Sep 29 2002 - 18:54:30 AKDT


Hi all:

I am runing an application in java on win2000. It
seems the batch file is written for windows, so I
can't run it in linux. I have converted the file in
unix ( well I think I did) and saved it. The run chmod
+x filename. but it says command not found. Here is
the batch file. The whole program in java, so it
should run in linux, if I can convert this file to
Unix/Linux exe.

regards Mehran

REM
***************************************************
REM *** INPUT CONFIGURATION FILE
REM
***************************************************
set config="xml:///../config/configuration.xml"

REM
***************************************************
REM *** CLASSPATHS
REM
***************************************************
set pd=..\lib

set dbe=%pd%\db2ejdbc.jar

set jnet=%pd%\jnet.jar;%pd%\jcert.jar;%pd%\jsse.jar
set jbcl=%pd%\jbcl.jar
set xerces=%pd%\xerces.jar

set log4j=%pd%\log4j-core.jar
set tab=%pd%\tabsplitter.jar

set eTechlog=%pd%\etechlog.jar
set common=%pd%\common.jar

set pc=%pd%\PerformanceCalculations.jar
set images=%pd%\images.jar
set ch=%pd%\Signature.jar

set
appcp=%ch%;%pd%;%pc%;%eTechlog%;%images%;%common%;%dbe%;%jnet%;%jbcl%;%xerces%;%log4j%;%tab%;

REM
***************************************************
REM *** APPLICATION MAIN
REM
***************************************************
set appmain=com.airmantech.workflow.WorkFlowMain

java -Xmx400m -classpath "%appcp%;%classpath%"
%appmain% %config%

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Sun Sep 29 2002 - 18:54:34 AKDT