Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:06a8b51d6d
Former-commit-id:3360eb6c5f
34 lines
1.3 KiB
Batchfile
Executable file
34 lines
1.3 KiB
Batchfile
Executable file
@ECHO OFF
|
|
|
|
@REM =======================================================================
|
|
@REM
|
|
@REM Batch file to run the HDFView
|
|
@REM
|
|
@REM =======================================================================
|
|
|
|
@REM set up Java home directory (requires jdk1.6.0 or above), e.g. D:\java\jdk1.6
|
|
SET JAVAHOME=D:\Java\jdk1.6.0_01
|
|
|
|
@REM set up "HDF JAVA Product" home directory, e.g. D:\hdf-java
|
|
SET HDFJAVA=G:\Projects\Java
|
|
|
|
|
|
@REM Do not make changes under this line unless you know what you are doing.
|
|
@REM =======================================================================
|
|
|
|
SET PATH="%HDFJAVA%"\lib\win;"%HDFJAVA%"\lib\ext
|
|
|
|
@REM set the JNI classpath
|
|
set JNI_CLASSPATH="%HDFJAVA%"\lib\jhdf.jar;"%HDFJAVA%"\lib\jhdf5.jar
|
|
|
|
@REM set the object package classpath
|
|
set OBJ_CLASSPATH="%HDFJAVA%"\lib\jhdfobj.jar;"%HDFJAVA%"\lib\jhdf4obj.jar;"%HDFJAVA%"\lib\jhdf5obj.jar;"%HDFJAVA%"\lib\netcdf.jar;"%HDFJAVA%"\lib\fits.jar;"%HDFJAVA%"\lib\jgraph.jar
|
|
|
|
@REM ext path
|
|
set EXT_CLASSPATH="%HDFJAVA%"\lib\jgraph.jar;"%HDFJAVA%"\lib\ext\*
|
|
|
|
@REM set the CLASSPATH
|
|
set CLASSPATH=%JNI_CLASSPATH%;%OBJ_CLASSPATH%;%EXT_CLASSPATH%;"%HDFJAVA%"\lib\jhdfview.jar
|
|
|
|
"%JAVAHOME%\bin\java" -Xmx1024m -Djava.library.path=%PATH% -Dhdfview.root="%HDFJAVA%" -classpath %CLASSPATH% ncsa.hdf.view.HDFView -root "%HDFJAVA%"
|
|
|