I am having a problem of starting up the MDS simulator. When I tried to run it, a command window popped up but then disappeared. Having read the previous threads, I've tried:
- install j2sdk 1.5 update 11, set the classpath
- make changes to rimpublic.propertiy and setBMDSEnv.bat files
- change the Simulator MDS.txt to Simulator MDS.bat
but the command prompt still appeared then disappeared immediately.
I am using MDS simulator v4.1, BB simulator v4.1, and JDE v4.2.0.
This is the error I got:
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/rim/appli
cation/ipproxyservice/IPProxyServiceApplication (Unsupported major.minor version
49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
This is the error I got:
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/rim/appli
cation/ipproxyservice/IPProxyServiceApplication (Unsupported major.minor version
49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
add the following line at the beginning of the file: "C:\Program Files\Research In Motion\BlackBerry Email and MDS Services Simulators 4.1.2\MDS\run.bat"
Line:
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_12
of course if you have a different path change it to be consistent with your machine.
I am facing problem while running the MDS-CS simulator. I am using "BlackBerry JDE 4.5.0". when i start running it, command prompt opened and disappearing. Could any one help me to start the MDS.
While I am writing my program in blackberry JDE, It is not allowing me List,ArrayList etc...
Is JDE supports only jre1.1? if so I need to install jre 1.5 or later? how is it possible ?
You will need the MDS simulator when using the BlackBerry simulators if and only if you want the BlackBerry simulator to access the Internet. A BlackBerry device can access the Internet only via a service provider (or a service provider + a BlackBerry Enterprise Server) - the MDS (real) is part of the BES, and the MDS Simulator provides the same functionality that the MDS (real) would provide, including network connectivity, as well as some other features (such as HTTP Push).
If you're not using the network, you don't need the MDS simulator.
Cheers,
karl
__________________
Karl G. Kowalski
---------------
Owns a RAZR
Develops for BlackBerry
So next phone will be........an iPhone 3G!
I get a difefrent Error. Upon running run.bat I get:
java.io.FileNotFoundException: initialization.log (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:179)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:70)
at net.rim.application.ipproxyservice.InitializationL og.<init>(Unknown S
ource)
at net.rim.application.ipproxyservice.InitializationL og.getInstance(Unkn
own Source)
at net.rim.application.ipproxyservice.IPProxyServiceA pplication.initiali
ze(Unknown Source)
at net.rim.application.ipproxyservice.IPProxyServiceA pplication.<init>(U
nknown Source)
at net.rim.application.ipproxyservice.IPProxyServiceA pplication.main(Unk
nown Source)
<2009-02-05 11:31:51.691 CAT>:[0]:<MDS>:<ERROR>:<LAYER = SCM, EVENT = Exception,
net.rim.ippp.a.b.aF.aG.Z.ln: java.io.IOException: \logs directory could not be
created!
Any assistance would be appreciated.
Regards
Conrad Pienaar