12-13-2011 02:56 PM
I've unzipped the MDS Simulator v3.5.3 from the BBM SDK 1.2, downloaded the security policy jars from Java, move them to my JDK folder (1.6.0_27) and double click the run.bat script in the mds folder to start the simulator but got an Exception
Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at java.security.AccessController.doPrivileged(Native Method)
Could not find the main class: Files. Program will exit.
And the simulator does not start. I'm using Windows 7 64bits but my JDK is 32bits. Folders have write permissions and is running with Windows XP Service Pack 3 compatibility and Admin rights.
What can I do? Any ideas? I had WinXP before and didn't have any of these problems. I can't test my BBM features without the MDS simulator.
12-15-2011 05:19 PM - edited 12-15-2011 05:20 PM
In the Java folder, do you have a jre6 folder? Sometimes copying the security policy in the jre folder helps solve this issue. The path for the jre6 can be found either C:\Program Files\Java\jre6\lib\security or C:\Program Files\Java\jdk1.6.0_27\jre\lib\security.
Can you confirm the above and let me know? Looking forward to your reply.
12-17-2011 07:06 PM
12-19-2011 06:37 PM
Can you do a java -version to see what version of Java you are running?
IF you are could you hardcode the java version in the MDS's run.bat.
For example %JAVA_EXE% with C:/progra~1/Java/jdk1.6.0_24/bin/java.exe might help.
Let me know if this works for you.
12-20-2011 09:31 AM