Below, you find instructions how to download the JDK.
Below, you find instructions how to install the JDK for Windows 7.
In order to be able to use the commands javac and java, their directory needs to be added to PATH. This can be done in several ways. Below, you find instructions how this can be done for Windows 7.
The Java archive file (jar) type.jar contains Java code that you will need to do the programming exercises. Below, you find instructions how to download this file.
To be able to use jar files, they need to be added to CLASSPATH. Below, you find instructions how to add type.jar to CLASSPATH in Windows 7.
In order to do the programming exercises, you first have to configure eCheck. Below, you find instructions how to do this.
Below, you find instructions how to download the editor jEdit.
Below, you find instructions how to install the editor jEdit for Windows 7.
Below, you find instructions how to add jedit to PATH for Windows 7.
Create the program named Check01E whose output is exactly as shown below.
In the "Black-Scholes formula"
σ is used to denote the volatility.
Download the jar file typex.jar and save it in the same directory as type.jar. Also, add typex.jar to your CLASSPATH.
To check whether your code is correct, you can use eCheck. You are advised to use the offline mode first. Once your code is correct (worth 3 marks) and you are happy with your style (worth 2 marks), you can switch to the online mode and submit your solution. For style, you should adhere to the code conventions described in Appendix C of the textbook.