### Section compile
cd %BUILDTEST%/RerunTest.othervm/work/scratch && \
DISPLAY=%DISPLAY% \
HOME=%HOME% \
LANG=en_US.UTF-8 \
MY_ENV_VAR=x \
PATH=/bin:/usr/bin:/usr/sbin \
TZ=GMT+0.00 \
    %JDKHOME%/bin/javac \
        -J-Dmy.vm.option=x \
        -J-Dtest.vm.opts=-Dmy.vm.option=x \
        -J-Dtest.tool.vm.opts=-J-Dmy.vm.option=x \
        -J-Dtest.compiler.opts=-XDmy.javac.option=x \
        -J-Dtest.java.opts=-Dmy.java.option=x \
        -J-Dtest.jdk=%JDKHOME% \
        -J-Dcompile.jdk=%JDKHOME% \
        -J-Dtest.timeout.factor=1.0 \
        -J-Dtest.root=%WS%/test/rerun \
        -J-Dtest.name=std/MainTest.java \
        -J-Dtest.file=%WS%/test/rerun/std/MainTest.java \
        -J-Dtest.src=%WS%/test/rerun/std \
        -J-Dtest.src.path=%WS%/test/rerun/std \
        -J-Dtest.classes=%BUILDTEST%/RerunTest.othervm/work/classes/std/MainTest.d \
        -J-Dtest.class.path=%BUILDTEST%/RerunTest.othervm/work/classes/std/MainTest.d \
        -XDmy.javac.option=x \
        -d %BUILDTEST%/RerunTest.othervm/work/classes/std/MainTest.d \
        -sourcepath %WS%/test/rerun/std \
        -classpath %WS%/test/rerun/std:%BUILDTEST%/RerunTest.othervm/work/classes/std/MainTest.d:%JDKHOME%/lib/tools.jar \
        -XDignore.symbol.file=true %WS%/test/rerun/std/MainTest.java

### Section main
cd %BUILDTEST%/RerunTest.othervm/work/scratch && \
DISPLAY=%DISPLAY% \
HOME=%HOME% \
LANG=en_US.UTF-8 \
MY_ENV_VAR=x \
PATH=/bin:/usr/bin:/usr/sbin \
TZ=GMT+0.00 \
CLASSPATH=%BUILDTEST%/RerunTest.othervm/work/classes/std/MainTest.d:%WS%/test/rerun/std:%JDKHOME%/lib/tools.jar:%BUILD%/images/jtreg/lib/javatest.jar:%BUILD%/images/jtreg/lib/jtreg.jar \
    %JDKHOME%/bin/java \
        -Dtest.vm.opts=-Dmy.vm.option=x \
        -Dtest.tool.vm.opts=-J-Dmy.vm.option=x \
        -Dtest.compiler.opts=-XDmy.javac.option=x \
        -Dtest.java.opts=-Dmy.java.option=x \
        -Dtest.jdk=%JDKHOME% \
        -Dcompile.jdk=%JDKHOME% \
        -Dtest.timeout.factor=1.0 \
        -Dtest.root=%WS%/test/rerun \
        -Dtest.name=std/MainTest.java \
        -Dtest.file=%WS%/test/rerun/std/MainTest.java \
        -Dtest.src=%WS%/test/rerun/std \
        -Dtest.src.path=%WS%/test/rerun/std \
        -Dtest.classes=%BUILDTEST%/RerunTest.othervm/work/classes/std/MainTest.d \
        -Dtest.class.path=%BUILDTEST%/RerunTest.othervm/work/classes/std/MainTest.d \
        -Dmy.vm.option=x \
        -Dmy.java.option=x \
        com.sun.javatest.regtest.agent.MainWrapper %BUILDTEST%/RerunTest.othervm/work/std/MainTest.d/main.0.jta

