Analytics: Cannot run program "..\jre\bin\java.exe"

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Posts: 116
Joined: 15 Mar 2011, 04:43

Analytics: Cannot run program "..\jre\bin\java.exe"

Postby grhwood » 13 Jul 2013, 23:37


Im using SFS2x with my own jdk. When I start Analytics module in SFS2x Admin, it pops up with error:

Unable to complete log analysis process due to the following error.
Cannot run program "..\jre\bin\java.exe": CreateProcess error=2, The system cannot find the file specified; please check the SmartFoxServer log for more details and report the issue to the SmartFoxServer team if needed

is it possible to change the java executable path ?

User avatar
Site Admin
Posts: 4522
Joined: 29 Mar 2005, 09:50
Location: Italy

Re: Analytics: Cannot run program "..\jre\bin\java.exe"

Postby Bax » 15 Jul 2013, 08:04

Changing the path to the JVM executable is not possible.
You have anyway another possible approach to run the log analysis process, which in your case should help.
Contact us by email referencing this post and we will provide more informations.
Paolo Bax
The SmartFoxServer Team
Posts: 33
Joined: 18 Feb 2008, 21:41
Location: Montreal

Re: Analytics: Cannot run program "..\jre\bin\java.exe"

Postby ndesy » 16 Jul 2013, 19:32

You can specify the path of the JVM by adding/modifying this file : SFS2X_HOME/.install4j/pref_jre.cfg

The file should only contains the path to the java installation folder.

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 29 guests