-
Notifications
You must be signed in to change notification settings - Fork 35
Installation on Windows
You should be able to download an installer for the JDK from: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html
https://github.com/peterdietz/SAFBuilder/zipball/master
Open the downloaded .zip you downloaded from Github, and specify the extraction location to something easy to type such as: C:\SAFBuilder
Since the .zip is autogenerated by GitHub, it includes a uniquely named directory that is unneeded and only lengthens the path to the code. Once you extract all files to C:\SAFBuilder, open "peterdietz-SAFBuilder-xxxxxx" and move all the contents of that folder to C:\SAFBuilder.
WindowsKey + R, type in "cmd", hit enter.
You need to include the external jars in your classpath: commons-io, xmlwriter, commons-vfs. Then the compile command is:
"C:\Program Files\Java\jdk1.6.0_25\bin\javac" -cp ^
C:\SAFBuilder\javacsv-2.0.jar;C:\SAFBuilder\commons-io-1.4.jar;C:\SAFBuilder\xmlwriter-2.2.jar;C:\SAFBuilder\commons-vfs-1.0.jar ^
C:\SAFBuilder\src\edu\osu\kb\batch\*.java -d C:\SAFBuilder\classes
java -cp C:\SAFBuilder\classes;C:\SAFBuilder\javacsv-2.0.jar;C:\SAFBuilder\commons-io-1.4.jar;C:\SAFBuilder\xmlwriter-2.2.jar;C:\SAFBuilder\commons-vfs-1.0.jar ^
edu.osu.kb.batch.BatchProcess C:\SAFBuilder\src\edu\osu\kb\sample_data AAA_batch-metadata.csv
You don't need the carets "^" in your command, but they are in this guide to make it slightly easier to read. The whole command to enter should be on one line for each step.