Go to: http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
Download the JRE7 executable that's appropriate for your Windows (32-bit vs 64-bit).
A dialog will pop-up asking if you want to Save or Run the file. Click Run.
A dialog will pop up to begin the installation of JRE7. Follow the prompts to complete the install.
Click Start and then type "cmd" in the search box and hit Enter.
In the command line type:
java -version |
You should see some information appear in the command line detailing that you have Java 1.7 (aka Java 7).
Go to: http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
Download the JRE7 file appropriate for your flavor of Linux. Because we are using Fedora 17 64-bit, we will download the Linux x64 RPM file. Please note the location where you saved the file.
Open a Terminal
Cd to the location of the file, in our case this is the Downloads directory in our HOME folder:
$ cd ~/Downloads $ su $ rpm -i jre-7u17-linux-x64.rpm $ exit $ java --version |
After running the above commands, you should see some information appear in the terminal detailing that you have Java 1.7 (aka Java 7).
Go to: Getting Daffodil and download the latest release file. Please note the location where you saved the file.
For Windows, you will want to download the zip file.
For Linux, either files will do.
After you've obtained the latest Daffodil Release, you'll want to 'unpack' the files into a suitable location on your machine.
Type the following:
cd C:\Users\UserName\Daffodil\daffodil-0.8.1\daffodil-0.8.1\bin daffodil.bat --help |
Entering the above commands will display help information for Daffodil. This means you're setup and ready to go!
Open a Terminal
Create a directory called "Daffodil" in your home directory:
$ cd ~ $ mkdir Daffodil |
Navigate to the location where you saved the Daffodil release file. Because we're using Fedora 17, the location where the file was saved is the Downloads directory of our HOME directory (~/Downloads)
$ cd ~/Downloads |
We're going to copy the compressed release file to the "Daffodil" directory we created in our HOME directory.
$ cp ~/Downloads/daffodil-0.8.1.zip ~/Daffodil/ $ cd ~/Daffodil $ ls |
After running the above commands, the daffodil release file should've been copied to your Daffodil folder in your HOME directory. The "ls" command displays the contents of the current directory (Daffodil).
Next we'll want to uncompress/unpack the release file.
If you downloaded the tar.bz2 file, enter the following:
$ tar -xvjpf daffodil-0.8.1.tar.bz2 |
If you downloaded the zip file, enter the following:
$ unzip daffodil-0.8.1.zip |
Finally, cd into the daffodil-0.8.1 directory until you reach the bin folder.
$ cd daffodil-0.8.1\daffodil-0.8.1\bin |
Now you can run Daffodil:
$ ./daffodil.sh --help |
Executing the above command should display help information for running Daffodil in the Terminal.
From the bin directory:
daffodil.bat parse -s SomeDir/SomeName.xsd SomeDir/SomeInput.in |
From the bin directory:
$ ./daffodil.sh parse -s SomeDir/SomeName.xsd SomeDir/SomeInput.in |