Skip to main content

PhoneME Advanced Personal on Win CE v5: parameter file Problem

2 replies [Last post]
Joined: 2010-07-25


I am trying to use the parameter file in my shortcut, but it is not working, can anybody guide me?

the shortcut:
254#"\Flash Disk\phoneme\personal\bin\cvm.exe" -f "\Flash Disk\server.cfg"

and the server.cfg:
-Xbootclasspath/p:"\Flash Disk\jdbc.jar"
"-Xopt:stdioPrefix=/Flash Disk,useConsole=true"
-cp "\Flash Disk\hh2.jar;\Flash Disk\bsn\third.jar"
-Djava.library.path="\Flash Disk\bsn" "com.bisan.hh.Main"

I am running my app on Windows CE v.5, as i think it doesn't understand the space character because when i did some debugging (I moved the first 2 lines from the cfg file to the shortcut), i got the following error:

java.lang.ClassNotFoundException: Disk\bsn"
at sun.misc.Launcher$AppClassLoader.findClass(
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at sun.misc.CVM.runMain(

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-01-03


Could you check what happens if you change the double quotes for java.library.path to:

"-Djava.library.path=\Flash Disk\bsn"

(instead of -Djava.library.path="\Flash Disk\bsn").

My guess is that the WinCE command line parser does not see a double quote before
-Djava.library... and therefore splits at the next space, with the VM assuming that Disk\bsn" is
going to be the main class.


Joined: 2010-07-25

It worked now after I changed the double quotes position, Thanks for your help