Hello Akash,
We test Marathon with JDK8 - in fact this is our development environment. We do not find any issues with it.
Please do the following:
1. Run marathon with '-i' option from a terminal/cmd window
2. In the project directory update logging.properties and change the log level to INFO (default: WARNING)
3. Try recording.
4. Capture the output (if any) from the terminal window and from the Output tab in Marathon
5. Mail the information
I can check whether there are any errors that are causing this problem.