Thanks well I found my copy of jikes which has a `jd.bat' file:
pilgpe@poppy [58] > c jikes-1.11/jd.bat
@echo off
rem Set JD and JDK to match the appropriate installation directories on
your system.
rem
set JD=c:\derek\jbin\jd.zip
set JDK=c:\java\lib\classes.zip
rem
echo on
java -nojit -classpath %JD%;%JDK% jd.Main -nojit -classpath
%JD%;%CLASSPATH%;%JDK% %1 %2 %3 %4 %5 %6 %7 %8 %9
After reading this batch file than I realised immediatelyt that getting
software to run on different architecture is another chestnut (problem).
I guess not every Operating system will provide a batch or scripting
language! (Well I think the Macintosh does not have one. Does it? )
Pete
______________________________ Reply Separator _________________________________
Subject: Re: Reading (All) Environment Variables in W95/NT
Author: paul ([EMAIL PROTECTED]) at lon-mime
Date: 14/12/98 12:00
Try something like this in your NT/95 startup script (smth like this
must work also on linux/bash with changing \ to /, %% to $, del to rm
and doing smth with :s and ;s in multiple paths in environment):
set >%TMP%\env
java -Denv.file=%TMP%\env ...
del %TMP%\env
and then in your code:
Properties p = new Properties();
p.load(new FileInputStream(System.getProperty("env.file")); //
Hope this helps.
All the Best
Pavel
[EMAIL PROTECTED] wrote:
>
> I am getting some requests from NT users on an application that I wrote on
> a Java/Linux environment. I have a Java application that runs fine on Unix
> and I am trying to get to run perfectly on NT. I have a run time shell
> script that passes the entire environment to the JVM using a system
> property.
>
> java -Denv=`env` xenon.xsql.editor.Xsql
>
--<CUT>--