blob: c750e1d10b358905a846897453a20059fa4a4262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
@echo off
rem Change this to be the full path for this directory
set EXTRACTION=c:\aj-@aj.event@
if exist "%JAVA_HOME%\bin\java.exe" goto haveJava
if exist "%JAVA_HOME%\bin\java.bat" goto haveJava
if exist "%JAVA_HOME%\bin\java" goto haveJava
echo java does not exist as %JAVA_HOME%\bin\java
echo please fix the JAVA_HOME environment variable
:haveJava
set ASPECTJ_HOME=%EXTRACTION%\aspectj
set PATH=%ASPECTJ_HOME%\bin;%PATH%
set CLASSPATH=.;%ASPECTJ_HOME%\lib\aspectjrt.jar;%EXTRACTION%\junit.jar
|