Starting LT from TextStudio in a Mac

I am trying to start LanguageTool grammar checker from TexStudio on OS X 10.10.2. This is done defining in Preferences/Grammar the path to Java. I have installed the recent JRE8 but I don’t know how to define the path to Java on a MacBookPro.
Of course all works if I start first LanguageTool and then TextStudio but I want to start LT from TextStudio.

I found it: the path to java is: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java